Enum rustc_errors::diagnostic::StringPart
source · [−]Variants
Normal(String)
Highlighted(String)
Implementations
sourceimpl StringPart
impl StringPart
Trait Implementations
sourceimpl Debug for StringPart
impl Debug for StringPart
sourceimpl PartialEq<StringPart> for StringPart
impl PartialEq<StringPart> for StringPart
sourcefn eq(&self, other: &StringPart) -> bool
fn eq(&self, other: &StringPart) -> bool
impl Eq for StringPart
impl StructuralEq for StringPart
impl StructuralPartialEq for StringPart
Auto Trait Implementations
impl RefUnwindSafe for StringPart
impl Send for StringPart
impl Sync for StringPart
impl Unpin for StringPart
impl UnwindSafe for StringPart
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: 32 bytes
Size for each variant:
Normal
: 24 bytesHighlighted
: 24 bytes