pub struct StructMemberInfo {
pub name: InternedStr,
pub type_repr: TypeRepr,
pub bitfield_width: Option<u32>,
}Expand description
StructDef のメンバー要素
Fields§
§name: InternedStr§type_repr: TypeRepr§bitfield_width: Option<u32>T name : N 形式のときの N。通常メンバーは None。
Trait Implementations§
Source§impl Clone for StructMemberInfo
impl Clone for StructMemberInfo
Source§fn clone(&self) -> StructMemberInfo
fn clone(&self) -> StructMemberInfo
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 moreAuto Trait Implementations§
impl Freeze for StructMemberInfo
impl RefUnwindSafe for StructMemberInfo
impl Send for StructMemberInfo
impl Sync for StructMemberInfo
impl Unpin for StructMemberInfo
impl UnsafeUnpin for StructMemberInfo
impl UnwindSafe for StructMemberInfo
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