pub struct PunchModel { /* private fields */ }Implementations§
Source§impl PunchModel
impl PunchModel
pub fn all() -> PunchModel
pub fn empty() -> PunchModel
pub fn and(&mut self, punch_model_box: PunchPolicySet)
pub fn is_match(&self, punch_model: PunchPolicy) -> bool
Trait Implementations§
Source§impl Clone for PunchModel
impl Clone for PunchModel
Source§fn clone(&self) -> PunchModel
fn clone(&self) -> PunchModel
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 moreAuto Trait Implementations§
impl Freeze for PunchModel
impl RefUnwindSafe for PunchModel
impl Send for PunchModel
impl Sync for PunchModel
impl Unpin for PunchModel
impl UnwindSafe for PunchModel
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