pub struct StructMember<'a> {
pub name: Ident<'a>,
pub ty: Handle<Type<'a>>,
pub binding: Option<Binding<'a>>,
pub align: Option<Handle<Expression<'a>>>,
pub size: Option<Handle<Expression<'a>>>,
}
Fields§
§name: Ident<'a>
§ty: Handle<Type<'a>>
§binding: Option<Binding<'a>>
§align: Option<Handle<Expression<'a>>>
§size: Option<Handle<Expression<'a>>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StructMember<'a>
impl<'a> RefUnwindSafe for StructMember<'a>
impl<'a> Send for StructMember<'a>
impl<'a> Sync for StructMember<'a>
impl<'a> Unpin for StructMember<'a>
impl<'a> UnwindSafe for StructMember<'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