Struct rustc_ast_pretty::pp::BreakToken
source · [−]Fields
offset: isizeblank_space: isizepre_break: Option<char>Trait Implementations
sourceimpl Clone for BreakToken
impl Clone for BreakToken
sourcefn clone(&self) -> BreakToken
fn clone(&self) -> BreakToken
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for BreakToken
impl Default for BreakToken
sourcefn default() -> BreakToken
fn default() -> BreakToken
Returns the “default value” for a type. Read more
sourceimpl PartialEq<BreakToken> for BreakToken
impl PartialEq<BreakToken> for BreakToken
sourcefn eq(&self, other: &BreakToken) -> bool
fn eq(&self, other: &BreakToken) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &BreakToken) -> bool
fn ne(&self, other: &BreakToken) -> bool
This method tests for !=.
impl Copy for BreakToken
impl StructuralPartialEq for BreakToken
Auto Trait Implementations
impl RefUnwindSafe for BreakToken
impl Send for BreakToken
impl Sync for BreakToken
impl Unpin for BreakToken
impl UnwindSafe for BreakToken
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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: 24 bytes