pub enum FillValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
CurrentColor,
Color(Color),
}Variants§
Implementations§
Source§impl FillValue
impl FillValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is FillValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is FillValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is FillValue::Revert otherwise false
Sourcepub const fn is_revert_layer(&self) -> bool
pub const fn is_revert_layer(&self) -> bool
Returns true if the enum is FillValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is FillValue::Unset otherwise false
Sourcepub const fn is_current_color(&self) -> bool
pub const fn is_current_color(&self) -> bool
Returns true if the enum is FillValue::CurrentColor otherwise false
Trait Implementations§
impl StructuralPartialEq for FillValue
impl UnitDataType<Fill<FillValue>> for FillValue
Auto Trait Implementations§
impl Freeze for FillValue
impl RefUnwindSafe for FillValue
impl Send for FillValue
impl Sync for FillValue
impl Unpin for FillValue
impl UnwindSafe for FillValue
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