pub enum InitStrategy {
All,
None,
Only(Vec<ComponentKey>),
Deny(Vec<ComponentKey>),
}Expand description
组件初始化策略
Variants§
Trait Implementations§
Source§impl Clone for InitStrategy
impl Clone for InitStrategy
Source§fn clone(&self) -> InitStrategy
fn clone(&self) -> InitStrategy
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 moreAuto Trait Implementations§
impl Freeze for InitStrategy
impl RefUnwindSafe for InitStrategy
impl Send for InitStrategy
impl Sync for InitStrategy
impl Unpin for InitStrategy
impl UnsafeUnpin for InitStrategy
impl UnwindSafe for InitStrategy
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