pub struct Precedence {
pub level: PrecedenceLevel,
pub kind: AssocKind,
}
Fields§
§level: PrecedenceLevel
§kind: AssocKind
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for Precedence
impl<'__de, __Context> BorrowDecode<'__de, __Context> for Precedence
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for Precedence
impl Clone for Precedence
Source§fn clone(&self) -> Precedence
fn clone(&self) -> Precedence
Returns a copy 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 moreSource§impl Debug for Precedence
impl Debug for Precedence
Source§impl<__Context> Decode<__Context> for Precedence
impl<__Context> Decode<__Context> for Precedence
Source§impl Encode for Precedence
impl Encode for Precedence
Source§impl PartialEq for Precedence
impl PartialEq for Precedence
impl Copy for Precedence
impl StructuralPartialEq for Precedence
Auto Trait Implementations§
impl Freeze for Precedence
impl RefUnwindSafe for Precedence
impl Send for Precedence
impl Sync for Precedence
impl Unpin for Precedence
impl UnwindSafe for Precedence
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