pub enum DispatchTypes {
UnknownDispatchType = 0,
StaticDispatch = 1,
DynamicDispatch = 2,
Inlined = 3,
}Variants§
UnknownDispatchType = 0
StaticDispatch = 1
For statically dispatched calls the call target is known before program execution
DynamicDispatch = 2
For dynamically dispatched calls the target is determined during runtime
Inlined = 3
For macro expansions, code is inlined.
Trait Implementations§
Source§impl Clone for DispatchTypes
impl Clone for DispatchTypes
Source§fn clone(&self) -> DispatchTypes
fn clone(&self) -> DispatchTypes
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 DispatchTypes
impl Debug for DispatchTypes
Source§impl<'de> Deserialize<'de> for DispatchTypes
impl<'de> Deserialize<'de> for DispatchTypes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DispatchTypes
impl Hash for DispatchTypes
Source§impl Ord for DispatchTypes
impl Ord for DispatchTypes
Source§fn cmp(&self, other: &DispatchTypes) -> Ordering
fn cmp(&self, other: &DispatchTypes) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DispatchTypes
impl PartialEq for DispatchTypes
Source§impl PartialOrd for DispatchTypes
impl PartialOrd for DispatchTypes
Source§impl Serialize for DispatchTypes
impl Serialize for DispatchTypes
impl Copy for DispatchTypes
impl Eq for DispatchTypes
impl StructuralPartialEq for DispatchTypes
Auto Trait Implementations§
impl Freeze for DispatchTypes
impl RefUnwindSafe for DispatchTypes
impl Send for DispatchTypes
impl Sync for DispatchTypes
impl Unpin for DispatchTypes
impl UnwindSafe for DispatchTypes
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