pub struct StructSpec {
pub namespace: Vec<String>,
pub name: String,
pub size: u32,
pub alignment: u8,
pub fields: Vec<FieldSpec>,
}Fields§
§namespace: Vec<String>§name: String§size: u32§alignment: u8§fields: Vec<FieldSpec>Implementations§
Trait Implementations§
Source§impl Clone for StructSpec
impl Clone for StructSpec
Source§fn clone(&self) -> StructSpec
fn clone(&self) -> StructSpec
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 moreAuto Trait Implementations§
impl Freeze for StructSpec
impl RefUnwindSafe for StructSpec
impl Send for StructSpec
impl Sync for StructSpec
impl Unpin for StructSpec
impl UnsafeUnpin for StructSpec
impl UnwindSafe for StructSpec
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