#[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