pub struct Percent(/* private fields */);Expand description
Represents a token with Kind::Delim that has the char %. Use T![%] to
refer to this.
Trait Implementations§
Source§impl Ord for Percent
impl Ord for Percent
Source§impl PartialOrd for Percent
impl PartialOrd for Percent
Source§impl SemanticEq for Percent
impl SemanticEq for Percent
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for Percent
impl ToCursors for Percent
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for Percent
impl Eq for Percent
impl StructuralPartialEq for Percent
Auto Trait Implementations§
impl Freeze for Percent
impl RefUnwindSafe for Percent
impl Send for Percent
impl Sync for Percent
impl Unpin for Percent
impl UnwindSafe for Percent
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)