Enum rustc_ast_lowering::format::ArgumentType
source · enum ArgumentType {
Format(FormatTrait),
Usize,
}
Variants§
Format(FormatTrait)
Usize
Trait Implementations§
source§impl Clone for ArgumentType
impl Clone for ArgumentType
source§fn clone(&self) -> ArgumentType
fn clone(&self) -> ArgumentType
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 ArgumentType
impl Debug for ArgumentType
source§impl Hash for ArgumentType
impl Hash for ArgumentType
source§impl PartialEq<ArgumentType> for ArgumentType
impl PartialEq<ArgumentType> for ArgumentType
source§fn eq(&self, other: &ArgumentType) -> bool
fn eq(&self, other: &ArgumentType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ArgumentType
impl Eq for ArgumentType
impl StructuralEq for ArgumentType
impl StructuralPartialEq for ArgumentType
Auto Trait Implementations§
impl RefUnwindSafe for ArgumentType
impl Send for ArgumentType
impl Sync for ArgumentType
impl Unpin for ArgumentType
impl UnwindSafe for ArgumentType
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: 1 byte
Size for each variant:
Format
: 1 byteUsize
: 0 bytes