pub struct LegalEmptyClosure;Expand description
Positive stand-in: empty non-capturing closure (FR74 ATDD).
Trait Implementations§
Source§impl Clone for LegalEmptyClosure
impl Clone for LegalEmptyClosure
Source§fn clone(&self) -> LegalEmptyClosure
fn clone(&self) -> LegalEmptyClosure
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 moreimpl Copy for LegalEmptyClosure
Source§impl Debug for LegalEmptyClosure
impl Debug for LegalEmptyClosure
Source§impl Default for LegalEmptyClosure
impl Default for LegalEmptyClosure
Source§fn default() -> LegalEmptyClosure
fn default() -> LegalEmptyClosure
Returns the “default value” for a type. Read more
Source§impl SynthesizableClosure for LegalEmptyClosure
impl SynthesizableClosure for LegalEmptyClosure
Source§fn synthesizable_closure_violations(&self) -> Vec<SynthesizableClosureViolation>
fn synthesizable_closure_violations(&self) -> Vec<SynthesizableClosureViolation>
Documented violation tokens for Cap-R-60 checking. Empty = legal.
Auto Trait Implementations§
impl Freeze for LegalEmptyClosure
impl RefUnwindSafe for LegalEmptyClosure
impl Send for LegalEmptyClosure
impl Sync for LegalEmptyClosure
impl Unpin for LegalEmptyClosure
impl UnsafeUnpin for LegalEmptyClosure
impl UnwindSafe for LegalEmptyClosure
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