pub struct StructInfo<'a> {
pub name: Option<&'static str>,
pub kind: StructKind,
pub fields: &'a [Field],
}Expand description
Information about a struct type.
Fields§
§name: Option<&'static str>§kind: StructKind§fields: &'a [Field]Trait Implementations§
Source§impl<'a> Clone for StructInfo<'a>
impl<'a> Clone for StructInfo<'a>
Source§fn clone(&self) -> StructInfo<'a>
fn clone(&self) -> StructInfo<'a>
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<'a> Debug for StructInfo<'a>
impl<'a> Debug for StructInfo<'a>
impl<'a> Copy for StructInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for StructInfo<'a>
impl<'a> RefUnwindSafe for StructInfo<'a>
impl<'a> Send for StructInfo<'a>
impl<'a> Sync for StructInfo<'a>
impl<'a> Unpin for StructInfo<'a>
impl<'a> UnsafeUnpin for StructInfo<'a>
impl<'a> UnwindSafe for StructInfo<'a>
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