#[repr(C)]pub struct option_exit_code {
pub is_some: i32,
pub value: exit_code,
}
Expand description
Optional exit code
Fields§
§is_some: i32
§value: exit_code
Trait Implementations§
source§impl Clone for option_exit_code
impl Clone for option_exit_code
source§fn clone(&self) -> option_exit_code
fn clone(&self) -> option_exit_code
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 option_exit_code
impl Debug for option_exit_code
source§impl From<option_exit_code> for Option<ExitCode>
impl From<option_exit_code> for Option<ExitCode>
source§fn from(value: option_exit_code) -> Self
fn from(value: option_exit_code) -> Self
Converts to this type from the input type.
impl Copy for option_exit_code
Auto Trait Implementations§
impl Freeze for option_exit_code
impl RefUnwindSafe for option_exit_code
impl Send for option_exit_code
impl Sync for option_exit_code
impl Unpin for option_exit_code
impl UnwindSafe for option_exit_code
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)