pub struct Struct {
pub name: &'static str,
pub size: usize,
pub vis: Visibility,
pub fields: Vec<(&'static str, Field)>,
}
Expand description
A struct (with named members).
Fields§
§name: &'static str
§size: usize
§vis: Visibility
§fields: Vec<(&'static str, 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 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