pub struct RecordDecl {
pub name: String,
pub fields: Vec<FieldDecl>,
}Fields§
§name: String§fields: Vec<FieldDecl>Trait Implementations§
Source§impl Clone for RecordDecl
impl Clone for RecordDecl
Source§fn clone(&self) -> RecordDecl
fn clone(&self) -> RecordDecl
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 moreSource§impl Debug for RecordDecl
impl Debug for RecordDecl
Source§impl From<&RecordDecl> for RecordDecl
impl From<&RecordDecl> for RecordDecl
Source§fn from(r: &RecordDecl) -> Self
fn from(r: &RecordDecl) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RecordDecl
impl PartialEq for RecordDecl
impl StructuralPartialEq for RecordDecl
Auto Trait Implementations§
impl Freeze for RecordDecl
impl RefUnwindSafe for RecordDecl
impl Send for RecordDecl
impl Sync for RecordDecl
impl Unpin for RecordDecl
impl UnsafeUnpin for RecordDecl
impl UnwindSafe for RecordDecl
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