pub enum AppendConstMessage {
Default,
Custom(Symbol),
}
Expand description
Append a message for ~const Trait
errors.
Variants§
Trait Implementations§
source§impl Clone for AppendConstMessage
impl Clone for AppendConstMessage
source§fn clone(&self) -> AppendConstMessage
fn clone(&self) -> AppendConstMessage
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 Debug for AppendConstMessage
impl Debug for AppendConstMessage
source§impl Default for AppendConstMessage
impl Default for AppendConstMessage
source§fn default() -> AppendConstMessage
fn default() -> AppendConstMessage
Returns the “default value” for a type. Read more
source§impl PartialEq<AppendConstMessage> for AppendConstMessage
impl PartialEq<AppendConstMessage> for AppendConstMessage
source§fn eq(&self, other: &AppendConstMessage) -> bool
fn eq(&self, other: &AppendConstMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AppendConstMessage
impl Eq for AppendConstMessage
impl StructuralEq for AppendConstMessage
impl StructuralPartialEq for AppendConstMessage
Auto Trait Implementations§
impl RefUnwindSafe for AppendConstMessage
impl Send for AppendConstMessage
impl Sync for AppendConstMessage
impl Unpin for AppendConstMessage
impl UnwindSafe for AppendConstMessage
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: 4 bytes
Size for each variant:
Default
: 0 bytesCustom
: 4 bytes