pub struct StructItem {
pub struct_kind: StructKindKind,
pub generics: Generics,
pub fields: Vec<ItemId>,
pub has_stripped_fields: bool,
pub impls: Vec<ItemId>,
}Fields§
§struct_kind: StructKindKind§generics: Generics§fields: Vec<ItemId>§has_stripped_fields: bool§impls: Vec<ItemId>Trait Implementations§
Source§impl Clone for StructItem
impl Clone for StructItem
Source§fn clone(&self) -> StructItem
fn clone(&self) -> StructItem
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 moreSource§impl Debug for StructItem
impl Debug for StructItem
Source§impl<'de> Deserialize<'de> for StructItem
impl<'de> Deserialize<'de> for StructItem
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 StructItem
impl RefUnwindSafe for StructItem
impl Send for StructItem
impl Sync for StructItem
impl Unpin for StructItem
impl UnsafeUnpin for StructItem
impl UnwindSafe for StructItem
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