pub struct OpRef {
pub op: Arc<Op>,
pub token: Option<Token>,
}Expand description
One occurrence of an operator: the shared description and the token
that introduced it. The canonical makeOp builds the same pair by
copying the description and attaching the token.
Fields§
§op: Arc<Op>§token: Option<Token>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OpRef
impl !UnwindSafe for OpRef
impl Freeze for OpRef
impl Send for OpRef
impl Sync for OpRef
impl Unpin for OpRef
impl UnsafeUnpin for OpRef
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