pub struct Part<'a, K> {
pub at: usize,
pub negated: bool,
pub kind: K,
pub value: Value<'a, K>,
}Expand description
One [!]KIND:VALUE.
Fields§
§at: usizeByte offset of the part (its !, else its kind) in the rule.
negated: boolWritten with !.
kind: KThe kind named before the :.
value: Value<'a, K>What follows the :.
Trait Implementations§
impl<'a, K: Eq> Eq for Part<'a, K>
impl<'a, K: PartialEq> StructuralPartialEq for Part<'a, K>
Auto Trait Implementations§
impl<'a, K> Forget for Part<'a, K>
impl<'a, K> Freeze for Part<'a, K>
impl<'a, K> Move for Part<'a, K>
impl<'a, K> RefUnwindSafe for Part<'a, K>
impl<'a, K> Send for Part<'a, K>
impl<'a, K> Sync for Part<'a, K>
impl<'a, K> Unpin for Part<'a, K>
impl<'a, K> UnsafeUnpin for Part<'a, K>
impl<'a, K> UnwindSafe for Part<'a, K>
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