#[non_exhaustive]pub enum CornerTopShape {
Bevel,
Notch,
Round,
Scoop,
Square,
Squircle,
Raw(Raw),
}Expand description
A value of corner-top-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.
Bevel
bevel.
Notch
notch.
Round
round.
Scoop
scoop.
Square
square.
Squircle
squircle.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for CornerTopShape
impl Clone for CornerTopShape
Source§fn clone(&self) -> CornerTopShape
fn clone(&self) -> CornerTopShape
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 CornerTopShape
impl Debug for CornerTopShape
Source§impl Display for CornerTopShape
impl Display for CornerTopShape
Source§impl From<Raw> for CornerTopShape
impl From<Raw> for CornerTopShape
Source§impl PartialEq for CornerTopShape
impl PartialEq for CornerTopShape
impl StructuralPartialEq for CornerTopShape
Auto Trait Implementations§
impl Freeze for CornerTopShape
impl RefUnwindSafe for CornerTopShape
impl Send for CornerTopShape
impl Sync for CornerTopShape
impl Unpin for CornerTopShape
impl UnsafeUnpin for CornerTopShape
impl UnwindSafe for CornerTopShape
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