pub struct Struct {
pub kind: StructKind,
pub module: &'static str,
pub name: &'static str,
pub doc: Option<&'static str>,
pub available_since: Option<c_int>,
pub fields: &'static [Field],
}Expand description
Metadata for structs and unions
Fields§
§kind: StructKind§module: &'static str§name: &'static str§doc: Option<&'static str>§available_since: Option<c_int>§fields: &'static [Field]Trait Implementations§
Auto Trait Implementations§
impl Freeze for Struct
impl RefUnwindSafe for Struct
impl Send for Struct
impl Sync for Struct
impl Unpin for Struct
impl UnsafeUnpin for Struct
impl UnwindSafe for Struct
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