Struct HookPriority
pub struct HookPriority(/* private fields */);Expand description
WordPress hook priority metadata.
Implementations§
§impl HookPriority
impl HookPriority
pub const DEFAULT: HookPriority
pub const fn new(value: u16) -> HookPriority
pub const fn get(self) -> u16
Trait Implementations§
§impl Clone for HookPriority
impl Clone for HookPriority
§fn clone(&self) -> HookPriority
fn clone(&self) -> HookPriority
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 more§impl Debug for HookPriority
impl Debug for HookPriority
§impl Hash for HookPriority
impl Hash for HookPriority
§impl Ord for HookPriority
impl Ord for HookPriority
§impl PartialEq for HookPriority
impl PartialEq for HookPriority
§impl PartialOrd for HookPriority
impl PartialOrd for HookPriority
impl Copy for HookPriority
impl Eq for HookPriority
impl StructuralPartialEq for HookPriority
Auto Trait Implementations§
impl Freeze for HookPriority
impl RefUnwindSafe for HookPriority
impl Send for HookPriority
impl Sync for HookPriority
impl Unpin for HookPriority
impl UnsafeUnpin for HookPriority
impl UnwindSafe for HookPriority
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