pub struct Shield { /* private fields */ }Expand description
sofie::run reads it from SOFIE_SHIELD, SOFIE_SHIELD_THRESHOLDS and SOFIE_SHIELD_SHARED.
Implementations§
Source§impl Shield
impl Shield
pub fn new(mode: ShieldMode) -> Self
pub fn thresholds(self, thresholds: Thresholds) -> Self
Trait Implementations§
impl Eq for Shield
impl StructuralPartialEq for Shield
Auto Trait Implementations§
impl Freeze for Shield
impl RefUnwindSafe for Shield
impl Send for Shield
impl Sync for Shield
impl Unpin for Shield
impl UnsafeUnpin for Shield
impl UnwindSafe for Shield
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.