Enum rustc_session::config::EntryFnType
source · [−]pub enum EntryFnType {
Main {
sigpipe: u8,
},
Start,
}
Variants
Main
Fields
sigpipe: u8
Specifies what to do with SIGPIPE
before calling fn main()
.
What values that are valid and what they mean must be in sync
across rustc and libstd, but we don’t want it public in libstd,
so we take a bit of an unusual approach with simple constants
and an include!()
.
Start
Trait Implementations
sourceimpl Clone for EntryFnType
impl Clone for EntryFnType
sourcefn clone(&self) -> EntryFnType
fn clone(&self) -> EntryFnType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EntryFnType
impl Debug for EntryFnType
sourceimpl Hash for EntryFnType
impl Hash for EntryFnType
sourceimpl<__CTX> HashStable<__CTX> for EntryFnTypewhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for EntryFnTypewhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
sourceimpl PartialEq<EntryFnType> for EntryFnType
impl PartialEq<EntryFnType> for EntryFnType
sourcefn eq(&self, other: &EntryFnType) -> bool
fn eq(&self, other: &EntryFnType) -> bool
impl Copy for EntryFnType
impl StructuralPartialEq for EntryFnType
Auto Trait Implementations
impl RefUnwindSafe for EntryFnType
impl Send for EntryFnType
impl Sync for EntryFnType
impl Unpin for EntryFnType
impl UnwindSafe for EntryFnType
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: 2 bytes
Size for each variant:
Main
: 1 byteStart
: 0 bytes