Struct tera::FunctionSafe
source · [−]pub struct FunctionSafe<F> where
F: Function, { /* private fields */ }
Expand description
Wrapper to make is_safe
return true
instead of false
for a trait implementation.
Trait Implementations
sourceimpl<F> From<F> for FunctionSafe<F> where
F: Function,
impl<F> From<F> for FunctionSafe<F> where
F: Function,
Auto Trait Implementations
impl<F> RefUnwindSafe for FunctionSafe<F> where
F: RefUnwindSafe,
impl<F> Send for FunctionSafe<F>
impl<F> Sync for FunctionSafe<F>
impl<F> Unpin for FunctionSafe<F> where
F: Unpin,
impl<F> UnwindSafe for FunctionSafe<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more