pub struct DecoratorSpec {
pub name: Name,
pub arguments: Vec<Statement>,
}Fields§
§name: Name§arguments: Vec<Statement>Implementations§
Source§impl DecoratorSpec
impl DecoratorSpec
pub fn new<N>(name: N) -> DecoratorSpec
pub fn push_argument<S>(&mut self, statement: S)
Trait Implementations§
Source§impl Clone for DecoratorSpec
impl Clone for DecoratorSpec
Source§fn clone(&self) -> DecoratorSpec
fn clone(&self) -> DecoratorSpec
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 DecoratorSpec
impl Debug for DecoratorSpec
Source§impl<'a, T> From<&'a T> for DecoratorSpec
impl<'a, T> From<&'a T> for DecoratorSpec
Source§fn from(value: &'a T) -> DecoratorSpec
fn from(value: &'a T) -> DecoratorSpec
Converts to this type from the input type.
Source§impl From<BuiltInName> for DecoratorSpec
impl From<BuiltInName> for DecoratorSpec
Source§fn from(value: BuiltInName) -> DecoratorSpec
fn from(value: BuiltInName) -> DecoratorSpec
Converts to this type from the input type.
Source§impl From<DecoratorSpec> for Element
impl From<DecoratorSpec> for Element
Source§fn from(value: DecoratorSpec) -> Element
fn from(value: DecoratorSpec) -> Element
Converts to this type from the input type.
Source§impl From<ImportedName> for DecoratorSpec
impl From<ImportedName> for DecoratorSpec
Source§fn from(value: ImportedName) -> DecoratorSpec
fn from(value: ImportedName) -> DecoratorSpec
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DecoratorSpec
impl RefUnwindSafe for DecoratorSpec
impl Send for DecoratorSpec
impl Sync for DecoratorSpec
impl Unpin for DecoratorSpec
impl UnwindSafe for DecoratorSpec
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