pub enum FunctionParallel {
Safe(Span),
Unsafe(Span),
Restricted(Span),
}Expand description
Parallel safety level of a function
Variants§
Trait Implementations§
Source§impl Clone for FunctionParallel
impl Clone for FunctionParallel
Source§impl Debug for FunctionParallel
impl Debug for FunctionParallel
Auto Trait Implementations§
impl Freeze for FunctionParallel
impl RefUnwindSafe for FunctionParallel
impl Send for FunctionParallel
impl Sync for FunctionParallel
impl Unpin for FunctionParallel
impl UnsafeUnpin for FunctionParallel
impl UnwindSafe for FunctionParallel
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