pub enum UnsafeType {
Function,
Block,
Trait,
Impl,
}
Expand description
Types of unsafe code usage
Variants§
Trait Implementations§
Source§impl Clone for UnsafeType
impl Clone for UnsafeType
Source§fn clone(&self) -> UnsafeType
fn clone(&self) -> UnsafeType
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 UnsafeType
impl RefUnwindSafe for UnsafeType
impl Send for UnsafeType
impl Sync for UnsafeType
impl Unpin for UnsafeType
impl UnwindSafe for UnsafeType
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