pub struct PreStartHooks { /* private fields */ }Expand description
An authored pre_start hook sequence, including an explicit empty sequence.
Implementations§
Source§impl PreStartHooks
impl PreStartHooks
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete hook sequence span.
Sourcepub fn entries(&self) -> &[PreStartHook]
pub fn entries(&self) -> &[PreStartHook]
Returns all hook and malformed entries in physical authored order.
Trait Implementations§
Source§impl Clone for PreStartHooks
impl Clone for PreStartHooks
Source§fn clone(&self) -> PreStartHooks
fn clone(&self) -> PreStartHooks
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 moreSource§impl Debug for PreStartHooks
impl Debug for PreStartHooks
impl Eq for PreStartHooks
Source§impl PartialEq for PreStartHooks
impl PartialEq for PreStartHooks
impl StructuralPartialEq for PreStartHooks
Auto Trait Implementations§
impl Freeze for PreStartHooks
impl RefUnwindSafe for PreStartHooks
impl Send for PreStartHooks
impl Sync for PreStartHooks
impl Unpin for PreStartHooks
impl UnsafeUnpin for PreStartHooks
impl UnwindSafe for PreStartHooks
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