pub struct RecordDeclaration {
pub name: String,
pub attributes: Vec<Attribute>,
pub modifiers: Vec<String>,
pub members: Vec<Member>,
pub type_parameters: Vec<TypeParameter>,
pub span: Range<usize>,
}Expand description
记录声明
Fields§
§name: String§attributes: Vec<Attribute>§modifiers: Vec<String>§members: Vec<Member>§type_parameters: Vec<TypeParameter>§span: Range<usize>Trait Implementations§
Source§impl Clone for RecordDeclaration
impl Clone for RecordDeclaration
Source§fn clone(&self) -> RecordDeclaration
fn clone(&self) -> RecordDeclaration
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 moreSource§impl Debug for RecordDeclaration
impl Debug for RecordDeclaration
Source§impl<'de> Deserialize<'de> for RecordDeclaration
impl<'de> Deserialize<'de> for RecordDeclaration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RecordDeclaration
impl PartialEq for RecordDeclaration
Source§impl Serialize for RecordDeclaration
impl Serialize for RecordDeclaration
impl StructuralPartialEq for RecordDeclaration
Auto Trait Implementations§
impl Freeze for RecordDeclaration
impl RefUnwindSafe for RecordDeclaration
impl Send for RecordDeclaration
impl Sync for RecordDeclaration
impl Unpin for RecordDeclaration
impl UnwindSafe for RecordDeclaration
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