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