pub enum DefaultPropVal {
Num(f64),
Int(i64),
Bool(bool),
Vec2(f64, f64),
Str(&'static str),
Color([u8; 4]),
}Expand description
Static representation of a property’s default value defined in a node schema.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DefaultPropVal
impl Clone for DefaultPropVal
impl Copy for DefaultPropVal
Source§impl Debug for DefaultPropVal
impl Debug for DefaultPropVal
Source§impl PartialEq for DefaultPropVal
impl PartialEq for DefaultPropVal
impl StructuralPartialEq for DefaultPropVal
Auto Trait Implementations§
impl Forget for DefaultPropVal
impl Freeze for DefaultPropVal
impl Move for DefaultPropVal
impl RefUnwindSafe for DefaultPropVal
impl Send for DefaultPropVal
impl Sync for DefaultPropVal
impl Unpin for DefaultPropVal
impl UnsafeUnpin for DefaultPropVal
impl UnwindSafe for DefaultPropVal
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