Enum rustc_builtin_macros::format::ast::FormatCount
source · pub enum FormatCount {
Literal(usize),
Argument(FormatArgPosition),
}
Variants§
Trait Implementations§
source§impl Clone for FormatCount
impl Clone for FormatCount
source§fn clone(&self) -> FormatCount
fn clone(&self) -> FormatCount
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 FormatCount
impl Debug for FormatCount
source§impl PartialEq<FormatCount> for FormatCount
impl PartialEq<FormatCount> for FormatCount
source§fn eq(&self, other: &FormatCount) -> bool
fn eq(&self, other: &FormatCount) -> bool
impl Eq for FormatCount
impl StructuralEq for FormatCount
impl StructuralPartialEq for FormatCount
Auto Trait Implementations§
impl RefUnwindSafe for FormatCount
impl !Send for FormatCount
impl !Sync for FormatCount
impl Unpin for FormatCount
impl UnwindSafe for FormatCount
Blanket Implementations§
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:
Literal
: 16 bytesArgument
: 32 bytes