pub struct ComposeAst {
pub name: String,
pub body: ComposeBody,
}Expand description
A compose directive — builds a pattern from named sub-patterns.
Fields§
§name: String§body: ComposeBodyTrait Implementations§
Source§impl Clone for ComposeAst
impl Clone for ComposeAst
Source§fn clone(&self) -> ComposeAst
fn clone(&self) -> ComposeAst
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 ComposeAst
impl RefUnwindSafe for ComposeAst
impl Send for ComposeAst
impl Sync for ComposeAst
impl Unpin for ComposeAst
impl UnsafeUnpin for ComposeAst
impl UnwindSafe for ComposeAst
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