Enum rustc_ast::tokenstream::Spacing
source · [−]pub enum Spacing {
Alone,
Joint,
}
Variants
Alone
Joint
Trait Implementations
sourceimpl<__CTX> HashStable<__CTX> for Spacingwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for Spacingwhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
impl Copy for Spacing
impl StructuralPartialEq for Spacing
Auto Trait Implementations
impl RefUnwindSafe for Spacing
impl Send for Spacing
impl Sync for Spacing
impl Unpin for Spacing
impl UnwindSafe for Spacing
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Alone
: 0 bytesJoint
: 0 bytes