pub struct VariantLayoutInfo {
pub name: String,
pub discriminant: Option<i128>,
pub fields: Vec<FieldLayoutInfo>,
}Fieldsยง
ยงname: Stringยงdiscriminant: Option<i128>ยงfields: Vec<FieldLayoutInfo>Trait Implementationsยง
Sourceยงimpl Clone for VariantLayoutInfo
impl Clone for VariantLayoutInfo
Sourceยงfn clone(&self) -> VariantLayoutInfo
fn clone(&self) -> VariantLayoutInfo
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 Debug for VariantLayoutInfo
impl Debug for VariantLayoutInfo
Sourceยงimpl<'de> Deserialize<'de> for VariantLayoutInfo
impl<'de> Deserialize<'de> for VariantLayoutInfo
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
Auto Trait Implementationsยง
impl Freeze for VariantLayoutInfo
impl RefUnwindSafe for VariantLayoutInfo
impl Send for VariantLayoutInfo
impl Sync for VariantLayoutInfo
impl Unpin for VariantLayoutInfo
impl UnwindSafe for VariantLayoutInfo
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