#[non_exhaustive]pub enum BorderShape {
None,
Raw(Raw),
}Expand description
A value of border-shape.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for BorderShape
impl Clone for BorderShape
Source§fn clone(&self) -> BorderShape
fn clone(&self) -> BorderShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BorderShape
impl Debug for BorderShape
Source§impl Display for BorderShape
impl Display for BorderShape
Source§impl From<Raw> for BorderShape
impl From<Raw> for BorderShape
Source§impl PartialEq for BorderShape
impl PartialEq for BorderShape
impl StructuralPartialEq for BorderShape
Auto Trait Implementations§
impl Freeze for BorderShape
impl RefUnwindSafe for BorderShape
impl Send for BorderShape
impl Sync for BorderShape
impl Unpin for BorderShape
impl UnsafeUnpin for BorderShape
impl UnwindSafe for BorderShape
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more