pub struct BlockStaticSet { /* private fields */ }
Implementations§
Source§impl BlockStaticSet
impl BlockStaticSet
pub const fn new() -> Self
pub fn inner(&self) -> &RwLock<BlockSet>
pub fn insert(&self, block: &'static Block) -> bool
pub fn insert_with(&self, func: impl FnOnce(&mut BlockSet))
pub fn extend<I: IntoIterator<Item = &'static Block>>(&self, iter: I)
pub fn remove(&self, block: &'static Block) -> bool
pub fn contains(&self, block: &'static Block) -> bool
Auto Trait Implementations§
impl !Freeze for BlockStaticSet
impl RefUnwindSafe for BlockStaticSet
impl Send for BlockStaticSet
impl Sync for BlockStaticSet
impl Unpin for BlockStaticSet
impl UnwindSafe for BlockStaticSet
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