pub struct OperatorUse {
pub owner: Type,
pub method: String,
}Expand description
An operator or a conversion a type declares, as used: the type, its
method (op_Addition, op_Implicit).
Fields§
§owner: Type§method: StringTrait Implementations§
Source§impl Clone for OperatorUse
impl Clone for OperatorUse
Source§impl Debug for OperatorUse
impl Debug for OperatorUse
Source§impl PartialEq for OperatorUse
impl PartialEq for OperatorUse
impl StructuralPartialEq for OperatorUse
Auto Trait Implementations§
impl Freeze for OperatorUse
impl RefUnwindSafe for OperatorUse
impl Send for OperatorUse
impl Sync for OperatorUse
impl Unpin for OperatorUse
impl UnsafeUnpin for OperatorUse
impl UnwindSafe for OperatorUse
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