pub struct EnumInstance { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for EnumInstance
impl Clone for EnumInstance
Source§fn clone(&self) -> EnumInstance
fn clone(&self) -> EnumInstance
Returns a duplicate 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 FromLustValue for EnumInstance
impl FromLustValue for EnumInstance
fn from_value(value: Value) -> Result<Self>
fn matches_lust_type(ty: &Type) -> bool
fn type_description() -> &'static str
Source§impl<'a> FromStructField<'a> for EnumInstance
impl<'a> FromStructField<'a> for EnumInstance
Source§impl IntoLustValue for EnumInstance
impl IntoLustValue for EnumInstance
fn into_value(self) -> Value
fn matches_lust_type(ty: &Type) -> bool
fn type_description() -> &'static str
Source§impl IntoTypedValue for EnumInstance
impl IntoTypedValue for EnumInstance
fn into_typed_value(self) -> TypedValue
Auto Trait Implementations§
impl Freeze for EnumInstance
impl !RefUnwindSafe for EnumInstance
impl !Send for EnumInstance
impl !Sync for EnumInstance
impl Unpin for EnumInstance
impl UnsafeUnpin for EnumInstance
impl !UnwindSafe for EnumInstance
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