pub struct Decorator {
pub name: Vec<Name>,
pub args: Option<Vec<Argument>>,
}
Expand description
A function or class decorator.
Fields§
§name: Vec<Name>
§args: Option<Vec<Argument>>
Trait Implementations§
impl StructuralPartialEq for Decorator
Auto Trait Implementations§
impl Freeze for Decorator
impl RefUnwindSafe for Decorator
impl Send for Decorator
impl Sync for Decorator
impl Unpin for Decorator
impl UnwindSafe for Decorator
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