Enum Spacing
enum Spacing
Whether a Punct is followed immediately by another Punct or followed by
another token or whitespace.
Variants
-
Alone E.g.
+isAlonein+ =,+identor+().-
Joint E.g.
+isJointin+=or'isJointin'#.Additionally, single quote
'can join with identifiers to form lifetimes'ident.
Implementations
impl Clone for Spacing
fn clone(self: &Self) -> Spacing
impl Copy for Spacing
impl Debug for Spacing
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for Spacing
impl Freeze for Spacing
impl PartialEq for Spacing
fn eq(self: &Self, other: &Spacing) -> bool
impl RefUnwindSafe for Spacing
impl Send for Spacing
impl StructuralPartialEq for Spacing
impl Sync for Spacing
impl Unpin for Spacing
impl UnwindSafe for Spacing
impl<T> Any for Spacing
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Spacing
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Spacing
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Spacing
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Spacing
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Spacing
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Spacing
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Spacing
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Spacing
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>