pub enum MaterialMapping {
Value(MaterialValue),
Values(MaterialValues),
NullValues(String),
}Variants§
Value(MaterialValue)
Values(MaterialValues)
NullValues(String)
"values": null — distinct from an absent values, which the schema
treats as a different (and, on its own, invalid) document. Stored as a
mapping that names its theme and carries no arrays at all.
Trait Implementations§
Source§impl Clone for MaterialMapping
impl Clone for MaterialMapping
Source§fn clone(&self) -> MaterialMapping
fn clone(&self) -> MaterialMapping
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 moreAuto Trait Implementations§
impl Freeze for MaterialMapping
impl RefUnwindSafe for MaterialMapping
impl Send for MaterialMapping
impl Sync for MaterialMapping
impl Unpin for MaterialMapping
impl UnsafeUnpin for MaterialMapping
impl UnwindSafe for MaterialMapping
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