pub struct DefaultDecl {
pub span: Span,
pub type_name: Option<Ident>,
pub name: Ident,
pub value: Expr,
}Expand description
default [Type] name = value
Fields§
§span: Span§type_name: Option<Ident>§name: Ident§value: ExprTrait Implementations§
Source§impl Clone for DefaultDecl
impl Clone for DefaultDecl
Source§fn clone(&self) -> DefaultDecl
fn clone(&self) -> DefaultDecl
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 DefaultDecl
impl Debug for DefaultDecl
Auto Trait Implementations§
impl Freeze for DefaultDecl
impl RefUnwindSafe for DefaultDecl
impl Send for DefaultDecl
impl Sync for DefaultDecl
impl Unpin for DefaultDecl
impl UnsafeUnpin for DefaultDecl
impl UnwindSafe for DefaultDecl
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