Enum rustc_session::config::LtoCli
source · pub enum LtoCli {
No,
Yes,
NoParam,
Thin,
Fat,
Unspecified,
}
Expand description
The different settings that the -C lto
flag can have.
Variants
No
-C lto=no
Yes
-C lto=yes
NoParam
-C lto
Thin
-C lto=thin
Fat
-C lto=fat
Unspecified
No -C lto
flag passed
Trait Implementations
sourceimpl DepTrackingHash for LtoCli
impl DepTrackingHash for LtoCli
fn hash(
&self,
hasher: &mut DefaultHasher,
_: ErrorOutputType,
_for_crate_hash: bool
)
impl Copy for LtoCli
impl StructuralPartialEq for LtoCli
Auto Trait Implementations
impl RefUnwindSafe for LtoCli
impl Send for LtoCli
impl Sync for LtoCli
impl Unpin for LtoCli
impl UnwindSafe for LtoCli
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: 1 byte
Size for each variant:
No
: 0 bytesYes
: 0 bytesNoParam
: 0 bytesThin
: 0 bytesFat
: 0 bytesUnspecified
: 0 bytes