#[repr(u8)]pub enum StyleType {
Flat = 0,
Linear = 1,
Radial = 2,
}Variants§
Flat = 0
Colored The shape is uniformly colored with a single color.
Linear = 1
Gradient The shape is colored with a linear gradient.
Radial = 2
Gradient The shape is colored with a radial gradient.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StyleType
impl RefUnwindSafe for StyleType
impl Send for StyleType
impl Sync for StyleType
impl Unpin for StyleType
impl UnwindSafe for StyleType
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