pub enum TextShadowAlphaValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Alpha(Alpha),
}Variants§
Implementations§
Source§impl TextShadowAlphaValue
impl TextShadowAlphaValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is TextShadowAlphaValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is TextShadowAlphaValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is TextShadowAlphaValue::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 TextShadowAlphaValue::RevertLayer otherwise false
Trait Implementations§
Source§impl Clone for TextShadowAlphaValue
impl Clone for TextShadowAlphaValue
Source§fn clone(&self) -> TextShadowAlphaValue
fn clone(&self) -> TextShadowAlphaValue
Returns a duplicate of the value. Read more
1.0.0 · 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 TextShadowAlphaValue
impl Debug for TextShadowAlphaValue
Source§impl Display for TextShadowAlphaValue
impl Display for TextShadowAlphaValue
Source§impl PartialEq for TextShadowAlphaValue
impl PartialEq for TextShadowAlphaValue
impl StructuralPartialEq for TextShadowAlphaValue
impl UnitDataType<TextShadowAlpha<TextShadowAlphaValue>> for TextShadowAlphaValue
Auto Trait Implementations§
impl Freeze for TextShadowAlphaValue
impl RefUnwindSafe for TextShadowAlphaValue
impl Send for TextShadowAlphaValue
impl Sync for TextShadowAlphaValue
impl Unpin for TextShadowAlphaValue
impl UnwindSafe for TextShadowAlphaValue
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