pub enum VariantSource {
StarClass(StarClass),
Material(Material),
}
Variants§
Trait Implementations§
Source§impl Clone for VariantSource
impl Clone for VariantSource
Source§fn clone(&self) -> VariantSource
fn clone(&self) -> VariantSource
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VariantSource
impl Debug for VariantSource
Source§impl<'de> Deserialize<'de> for VariantSource
impl<'de> Deserialize<'de> for VariantSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for VariantSource
impl FromStr for VariantSource
Source§impl PartialEq for VariantSource
impl PartialEq for VariantSource
Source§impl Serialize for VariantSource
impl Serialize for VariantSource
impl StructuralPartialEq for VariantSource
Auto Trait Implementations§
impl Freeze for VariantSource
impl RefUnwindSafe for VariantSource
impl Send for VariantSource
impl Sync for VariantSource
impl Unpin for VariantSource
impl UnwindSafe for VariantSource
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