pub enum PrefValue {
Bool(bool),
Int(i64),
Float(f64),
Str(String),
Color([f32; 4]),
Vec2([f32; 2]),
}Variants§
Trait Implementations§
impl StructuralPartialEq for PrefValue
Auto Trait Implementations§
impl Freeze for PrefValue
impl RefUnwindSafe for PrefValue
impl Send for PrefValue
impl Sync for PrefValue
impl Unpin for PrefValue
impl UnsafeUnpin for PrefValue
impl UnwindSafe for PrefValue
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