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§fn clone(&self) -> FunctionParallel
fn clone(&self) -> FunctionParallel
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 moreSource§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