pub enum RegisteredHookPriority {
BeforePlugins,
AfterPlugins,
}Expand description
Relative priority for SDK hooks compared with plugin-file hooks.
Variants§
BeforePlugins
Run before hooks loaded from plugin files.
AfterPlugins
Run after hooks loaded from plugin files.
Trait Implementations§
Source§impl Clone for RegisteredHookPriority
impl Clone for RegisteredHookPriority
Source§fn clone(&self) -> RegisteredHookPriority
fn clone(&self) -> RegisteredHookPriority
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 RegisteredHookPriority
Source§impl Debug for RegisteredHookPriority
impl Debug for RegisteredHookPriority
Source§impl Default for RegisteredHookPriority
impl Default for RegisteredHookPriority
Source§fn default() -> RegisteredHookPriority
fn default() -> RegisteredHookPriority
Returns the “default value” for a type. Read more
impl Eq for RegisteredHookPriority
Source§impl PartialEq for RegisteredHookPriority
impl PartialEq for RegisteredHookPriority
Source§fn eq(&self, other: &RegisteredHookPriority) -> bool
fn eq(&self, other: &RegisteredHookPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegisteredHookPriority
Auto Trait Implementations§
impl Freeze for RegisteredHookPriority
impl RefUnwindSafe for RegisteredHookPriority
impl Send for RegisteredHookPriority
impl Sync for RegisteredHookPriority
impl Unpin for RegisteredHookPriority
impl UnsafeUnpin for RegisteredHookPriority
impl UnwindSafe for RegisteredHookPriority
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.