pub struct GlobalOptions {
pub optimization_level: i32,
pub debug_level: i32,
}Fields§
§optimization_level: i32§debug_level: i32Trait Implementations§
Source§impl Clone for GlobalOptions
impl Clone for GlobalOptions
Source§fn clone(&self) -> GlobalOptions
fn clone(&self) -> GlobalOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GlobalOptions
Source§impl Debug for GlobalOptions
impl Debug for GlobalOptions
Source§impl Default for GlobalOptions
impl Default for GlobalOptions
impl Eq for GlobalOptions
Source§impl Hash for GlobalOptions
impl Hash for GlobalOptions
Source§impl PartialEq for GlobalOptions
impl PartialEq for GlobalOptions
Source§fn eq(&self, other: &GlobalOptions) -> bool
fn eq(&self, other: &GlobalOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GlobalOptions
Auto Trait Implementations§
impl Freeze for GlobalOptions
impl RefUnwindSafe for GlobalOptions
impl Send for GlobalOptions
impl Sync for GlobalOptions
impl Unpin for GlobalOptions
impl UnsafeUnpin for GlobalOptions
impl UnwindSafe for GlobalOptions
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