Enum rustc_session::MetadataKind
source · pub enum MetadataKind {
None,
Uncompressed,
Compressed,
}
Variants§
Trait Implementations§
source§impl Ord for MetadataKind
impl Ord for MetadataKind
source§fn cmp(&self, other: &MetadataKind) -> Ordering
fn cmp(&self, other: &MetadataKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<MetadataKind> for MetadataKind
impl PartialEq<MetadataKind> for MetadataKind
source§fn eq(&self, other: &MetadataKind) -> bool
fn eq(&self, other: &MetadataKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MetadataKind> for MetadataKind
impl PartialOrd<MetadataKind> for MetadataKind
source§fn partial_cmp(&self, other: &MetadataKind) -> Option<Ordering>
fn partial_cmp(&self, other: &MetadataKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for MetadataKind
impl StructuralEq for MetadataKind
impl StructuralPartialEq for MetadataKind
Auto Trait Implementations§
impl RefUnwindSafe for MetadataKind
impl Send for MetadataKind
impl Sync for MetadataKind
impl Unpin for MetadataKind
impl UnwindSafe for MetadataKind
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:
None
: 0 bytesUncompressed
: 0 bytesCompressed
: 0 bytes