pub struct Directive<S, T = String>{
pub name: T,
pub args: Vec<T>,
pub children: Option<Vec<Directive<S, T>>>,
/* private fields */
}
Fields§
§name: T
§args: Vec<T>
§children: Option<Vec<Directive<S, T>>>
Implementations§
Trait Implementations§
impl<S, T> Eq for Directive<S, T>
Auto Trait Implementations§
impl<S, T> Freeze for Directive<S, T>where
T: Freeze,
impl<S, T> RefUnwindSafe for Directive<S, T>where
T: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, T> Send for Directive<S, T>
impl<S, T> Sync for Directive<S, T>
impl<S, T> Unpin for Directive<S, T>
impl<S, T> UnwindSafe for Directive<S, T>where
T: UnwindSafe,
S: UnwindSafe,
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