pub struct Directive<'a, T: Text<'a>> {
pub position: Pos,
pub name: T::Value,
pub arguments: Vec<(T::Value, Value<'a, T>)>,
}Fields§
§position: Pos§name: T::Value§arguments: Vec<(T::Value, Value<'a, T>)>Trait Implementations§
impl<'a, T: PartialEq + Text<'a>> StructuralPartialEq for Directive<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for Directive<'a, T>
impl<'a, T> RefUnwindSafe for Directive<'a, T>where
<T as Text<'a>>::Value: RefUnwindSafe,
Vec<(<T as Text<'a>>::Value, Value<'a, T>)>: RefUnwindSafe,
impl<'a, T> Send for Directive<'a, T>
impl<'a, T> Sync for Directive<'a, T>
impl<'a, T> Unpin for Directive<'a, T>
impl<'a, T> UnsafeUnpin for Directive<'a, T>where
<T as Text<'a>>::Value: UnsafeUnpin,
Vec<(<T as Text<'a>>::Value, Value<'a, T>)>: UnsafeUnpin,
impl<'a, T> UnwindSafe for Directive<'a, T>
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