pub enum StylesBoxShape {
Circle,
Rectangle,
}Expand description
The BoxShape enum, used to define the shape of a box.
Variants§
Trait Implementations§
Source§impl Clone for StylesBoxShape
impl Clone for StylesBoxShape
impl Copy for StylesBoxShape
Source§impl Debug for StylesBoxShape
impl Debug for StylesBoxShape
Source§impl<'de> Deserialize<'de> for StylesBoxShape
impl<'de> Deserialize<'de> for StylesBoxShape
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StylesBoxShape
Source§impl From<&StylesBoxShape> for StylesBoxShape
impl From<&StylesBoxShape> for StylesBoxShape
Source§fn from(value: &StylesBoxShape) -> Self
fn from(value: &StylesBoxShape) -> Self
Converts to this type from the input type.
Source§impl FromStr for StylesBoxShape
impl FromStr for StylesBoxShape
Source§impl Hash for StylesBoxShape
impl Hash for StylesBoxShape
Source§impl Ord for StylesBoxShape
impl Ord for StylesBoxShape
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StylesBoxShape
impl PartialEq for StylesBoxShape
Source§impl PartialOrd for StylesBoxShape
impl PartialOrd for StylesBoxShape
Source§impl Serialize for StylesBoxShape
impl Serialize for StylesBoxShape
impl StructuralPartialEq for StylesBoxShape
Source§impl ToString for StylesBoxShape
impl ToString for StylesBoxShape
Source§impl TryFrom<&String> for StylesBoxShape
impl TryFrom<&String> for StylesBoxShape
Source§impl TryFrom<&str> for StylesBoxShape
impl TryFrom<&str> for StylesBoxShape
Auto Trait Implementations§
impl Freeze for StylesBoxShape
impl RefUnwindSafe for StylesBoxShape
impl Send for StylesBoxShape
impl Sync for StylesBoxShape
impl Unpin for StylesBoxShape
impl UnsafeUnpin for StylesBoxShape
impl UnwindSafe for StylesBoxShape
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