Enum irust_repl::CompileMode
source · pub enum CompileMode {
Debug,
Release,
}
Variants§
Implementations§
source§impl CompileMode
impl CompileMode
pub fn is_release(&self) -> bool
Trait Implementations§
source§impl Clone for CompileMode
impl Clone for CompileMode
source§fn clone(&self) -> CompileMode
fn clone(&self) -> CompileMode
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 CompileMode
impl Debug for CompileMode
source§impl Display for CompileMode
impl Display for CompileMode
source§impl FromStr for CompileMode
impl FromStr for CompileMode
impl Copy for CompileMode
Auto Trait Implementations§
impl Freeze for CompileMode
impl RefUnwindSafe for CompileMode
impl Send for CompileMode
impl Sync for CompileMode
impl Unpin for CompileMode
impl UnwindSafe for CompileMode
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