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