Struct rustc_ast_pretty::pp::BreakToken
source · pub struct BreakToken {
offset: isize,
blank_space: isize,
pre_break: Option<char>,
}
Fields§
§offset: isize
§blank_space: isize
§pre_break: Option<char>
Trait Implementations§
source§impl Clone for BreakToken
impl Clone for BreakToken
source§fn clone(&self) -> BreakToken
fn clone(&self) -> BreakToken
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BreakToken
impl Default for BreakToken
source§fn default() -> BreakToken
fn default() -> BreakToken
Returns the “default value” for a type. Read more
source§impl PartialEq<BreakToken> for BreakToken
impl PartialEq<BreakToken> for BreakToken
source§fn 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 ==
.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§
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
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