pub enum Property {
Bool(bool),
Double(f64),
String(String),
Vector3D([f64; 3]),
}Expand description
A Property is a piece of data that can be associated with an Atom or a
Frame.
Variants§
Bool(bool)
Boolean property
Double(f64)
Floating point property
String(String)
String property
Vector3D([f64; 3])
3-dimensional vector property
Trait Implementations§
source§impl PartialEq for Property
impl PartialEq for Property
source§impl PartialOrd for Property
impl PartialOrd for Property
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl StructuralPartialEq for Property
Auto Trait Implementations§
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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