pub struct DispatchSemantics {
pub load_timing: LoadTiming,
pub import_behavior: ImportBehavior,
}Expand description
Semantic description of a use/require dispatch form.
Fields§
§load_timing: LoadTimingWhen the module load happens.
import_behavior: ImportBehaviorWhether import is called on the loaded module.
Implementations§
Source§impl DispatchSemantics
impl DispatchSemantics
Sourcepub fn hover_description(&self) -> &'static str
pub fn hover_description(&self) -> &'static str
A short human-readable description suitable for hover text.
Trait Implementations§
Source§impl Clone for DispatchSemantics
impl Clone for DispatchSemantics
Source§fn clone(&self) -> DispatchSemantics
fn clone(&self) -> DispatchSemantics
Returns a duplicate 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 DispatchSemantics
impl Debug for DispatchSemantics
Source§impl PartialEq for DispatchSemantics
impl PartialEq for DispatchSemantics
impl Copy for DispatchSemantics
impl Eq for DispatchSemantics
impl StructuralPartialEq for DispatchSemantics
Auto Trait Implementations§
impl Freeze for DispatchSemantics
impl RefUnwindSafe for DispatchSemantics
impl Send for DispatchSemantics
impl Sync for DispatchSemantics
impl Unpin for DispatchSemantics
impl UnsafeUnpin for DispatchSemantics
impl UnwindSafe for DispatchSemantics
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