Struct erg_parser::ast::Decorator
source · [−]pub struct Decorator(_);
Expand description
デコレータは関数を返す関数オブジェクトならば何でも指定できる e.g. @(x -> x)
Implementations
Trait Implementations
sourceimpl PartialEq<Decorator> for Decorator
impl PartialEq<Decorator> for Decorator
impl Eq for Decorator
impl StructuralEq for Decorator
impl StructuralPartialEq for Decorator
Auto Trait Implementations
impl !RefUnwindSafe for Decorator
impl !Send for Decorator
impl !Sync for Decorator
impl Unpin for Decorator
impl !UnwindSafe for Decorator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more