Enum bootstrap::config::SplitDebuginfo
source · pub enum SplitDebuginfo {
Packed,
Unpacked,
Off,
}
Variants§
Implementations§
source§impl SplitDebuginfo
impl SplitDebuginfo
sourcefn default_for_platform(target: &str) -> Self
fn default_for_platform(target: &str) -> Self
Returns the default -Csplit-debuginfo
value for the current target. See the comment for
rust.split-debuginfo
in config.example.toml
.
Trait Implementations§
source§impl Clone for SplitDebuginfo
impl Clone for SplitDebuginfo
source§fn clone(&self) -> SplitDebuginfo
fn clone(&self) -> SplitDebuginfo
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 Default for SplitDebuginfo
impl Default for SplitDebuginfo
source§fn default() -> SplitDebuginfo
fn default() -> SplitDebuginfo
Returns the “default value” for a type. Read more
source§impl FromStr for SplitDebuginfo
impl FromStr for SplitDebuginfo
source§impl Hash for SplitDebuginfo
impl Hash for SplitDebuginfo
source§impl Ord for SplitDebuginfo
impl Ord for SplitDebuginfo
source§fn cmp(&self, other: &SplitDebuginfo) -> Ordering
fn cmp(&self, other: &SplitDebuginfo) -> 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<SplitDebuginfo> for SplitDebuginfo
impl PartialEq<SplitDebuginfo> for SplitDebuginfo
source§fn eq(&self, other: &SplitDebuginfo) -> bool
fn eq(&self, other: &SplitDebuginfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SplitDebuginfo> for SplitDebuginfo
impl PartialOrd<SplitDebuginfo> for SplitDebuginfo
source§fn partial_cmp(&self, other: &SplitDebuginfo) -> Option<Ordering>
fn partial_cmp(&self, other: &SplitDebuginfo) -> 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 Copy for SplitDebuginfo
impl Eq for SplitDebuginfo
impl StructuralEq for SplitDebuginfo
impl StructuralPartialEq for SplitDebuginfo
Auto Trait Implementations§
impl RefUnwindSafe for SplitDebuginfo
impl Send for SplitDebuginfo
impl Sync for SplitDebuginfo
impl Unpin for SplitDebuginfo
impl UnwindSafe for SplitDebuginfo
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:
Packed
: 0 bytesUnpacked
: 0 bytesOff
: 0 bytes