pub enum Variability {
Varying,
Uniform,
}Expand description
An enum that identifies variability types for attributes.
Variants§
Trait Implementations§
Source§impl Clone for Variability
impl Clone for Variability
Source§fn clone(&self) -> Variability
fn clone(&self) -> Variability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Variability
Source§impl Debug for Variability
impl Debug for Variability
Source§impl From<Variability> for Value
impl From<Variability> for Value
Source§fn from(value: Variability) -> Self
fn from(value: Variability) -> Self
Converts to this type from the input type.
Source§impl ValueType for Variability
impl ValueType for Variability
fn load(store: &ValueStore) -> Option<Self>
fn store(self) -> ValueStore
Auto Trait Implementations§
impl Freeze for Variability
impl RefUnwindSafe for Variability
impl Send for Variability
impl Sync for Variability
impl Unpin for Variability
impl UnsafeUnpin for Variability
impl UnwindSafe for Variability
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