pub struct Directive<'a> {
pub name: &'a str,
pub parameters: Vec<'a, &'a str>,
pub span: Span,
}Expand description
%NAME param param. Uninterpreted; %YAML/%TAG/unknown are all accepted.
Fields§
§name: &'a str§parameters: Vec<'a, &'a str>§span: SpanTrait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Directive<'a>
impl<'a> !Send for Directive<'a>
impl<'a> !UnwindSafe for Directive<'a>
impl<'a> Freeze for Directive<'a>
impl<'a> Sync for Directive<'a>
impl<'a> Unpin for Directive<'a>
impl<'a> UnsafeUnpin for Directive<'a>
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