pub struct Locking<'a> {
pub for_span: Span,
pub strength: LockStrength,
pub of: Option<(Span, Vec<Identifier<'a>>)>,
pub wait: LockWait,
}Fields§
§for_span: SpanSpan of “FOR”
strength: LockStrength§of: Option<(Span, Vec<Identifier<'a>>)>§wait: LockWaitTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Locking<'a>
impl<'a> RefUnwindSafe for Locking<'a>
impl<'a> Send for Locking<'a>
impl<'a> Sync for Locking<'a>
impl<'a> Unpin for Locking<'a>
impl<'a> UnsafeUnpin for Locking<'a>
impl<'a> UnwindSafe for Locking<'a>
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