pub enum LoadTiming {
CompileTime,
Runtime,
}Expand description
When a module is loaded relative to program execution.
Variants§
CompileTime
Module is loaded at compile time (e.g. use).
Runtime
Module is loaded at runtime (e.g. require).
Trait Implementations§
Source§impl Clone for LoadTiming
impl Clone for LoadTiming
Source§fn clone(&self) -> LoadTiming
fn clone(&self) -> LoadTiming
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 LoadTiming
Source§impl Debug for LoadTiming
impl Debug for LoadTiming
impl Eq for LoadTiming
Source§impl PartialEq for LoadTiming
impl PartialEq for LoadTiming
Source§fn eq(&self, other: &LoadTiming) -> bool
fn eq(&self, other: &LoadTiming) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoadTiming
Auto Trait Implementations§
impl Freeze for LoadTiming
impl RefUnwindSafe for LoadTiming
impl Send for LoadTiming
impl Sync for LoadTiming
impl Unpin for LoadTiming
impl UnsafeUnpin for LoadTiming
impl UnwindSafe for LoadTiming
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