pub struct SafetySource {
pub safety_name: String,
pub index: usize,
pub expr: Spanned<Expr>,
}Fields§
§safety_name: String§index: usize§expr: Spanned<Expr>Trait Implementations§
Source§impl Clone for SafetySource
impl Clone for SafetySource
Auto Trait Implementations§
impl Forget for SafetySource
impl Freeze for SafetySource
impl RefUnwindSafe for SafetySource
impl Send for SafetySource
impl Sync for SafetySource
impl Unpin for SafetySource
impl UnsafeUnpin for SafetySource
impl UnwindSafe for SafetySource
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