pub struct ModifierDef {
pub name: Ident,
pub params: Vec<Param>,
pub body: Block,
pub span: Span,
}Fields§
§name: Ident§params: Vec<Param>§body: Block§span: SpanTrait Implementations§
Source§impl Clone for ModifierDef
impl Clone for ModifierDef
Source§fn clone(&self) -> ModifierDef
fn clone(&self) -> ModifierDef
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 ModifierDef
impl Debug for ModifierDef
Source§impl<'de> Deserialize<'de> for ModifierDef
impl<'de> Deserialize<'de> for ModifierDef
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 ModifierDef
impl PartialEq for ModifierDef
Source§impl Serialize for ModifierDef
impl Serialize for ModifierDef
impl StructuralPartialEq for ModifierDef
Auto Trait Implementations§
impl Freeze for ModifierDef
impl RefUnwindSafe for ModifierDef
impl Send for ModifierDef
impl Sync for ModifierDef
impl Unpin for ModifierDef
impl UnwindSafe for ModifierDef
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