pub struct StructDeclarator {
pub declarator: Option<Declarator>,
pub constant_expression: Option<Expression>,
pub span: Range<usize>,
}Expand description
Struct declarator
Fields§
§declarator: Option<Declarator>§constant_expression: Option<Expression>§span: Range<usize>Trait Implementations§
Source§impl Clone for StructDeclarator
impl Clone for StructDeclarator
Source§fn clone(&self) -> StructDeclarator
fn clone(&self) -> StructDeclarator
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 StructDeclarator
impl Debug for StructDeclarator
Source§impl<'de> Deserialize<'de> for StructDeclarator
impl<'de> Deserialize<'de> for StructDeclarator
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 StructDeclarator
impl PartialEq for StructDeclarator
Source§impl Serialize for StructDeclarator
impl Serialize for StructDeclarator
impl StructuralPartialEq for StructDeclarator
Auto Trait Implementations§
impl Freeze for StructDeclarator
impl RefUnwindSafe for StructDeclarator
impl Send for StructDeclarator
impl Sync for StructDeclarator
impl Unpin for StructDeclarator
impl UnwindSafe for StructDeclarator
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