pub struct StructSpec {
pub name: Option<InternedStr>,
pub members: Option<Vec<StructMember>>,
pub loc: SourceLocation,
}Expand description
構造体/共用体指定
Fields§
§name: Option<InternedStr>§members: Option<Vec<StructMember>>§loc: SourceLocationTrait 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 (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 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