pub struct PropertyDecl {
pub name: Ident,
pub body: Expr,
pub span: Span,
}Expand description
property NAME { expr }
Fields§
§name: Ident§body: Expr§span: SpanTrait Implementations§
Source§impl Clone for PropertyDecl
impl Clone for PropertyDecl
Source§fn clone(&self) -> PropertyDecl
fn clone(&self) -> PropertyDecl
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 moreAuto Trait Implementations§
impl Freeze for PropertyDecl
impl RefUnwindSafe for PropertyDecl
impl Send for PropertyDecl
impl Sync for PropertyDecl
impl Unpin for PropertyDecl
impl UnwindSafe for PropertyDecl
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