pub struct FixityDecl {
pub fixity: Fixity,
pub prec: u8,
pub ops: Vec<Ident>,
pub span: Span,
}Expand description
A fixity declaration.
Fields§
§fixity: FixityThe fixity.
prec: u8Precedence level (0-9).
ops: Vec<Ident>The operators.
span: SpanThe span.
Trait Implementations§
Source§impl Clone for FixityDecl
impl Clone for FixityDecl
Source§fn clone(&self) -> FixityDecl
fn clone(&self) -> FixityDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FixityDecl
impl RefUnwindSafe for FixityDecl
impl Send for FixityDecl
impl Sync for FixityDecl
impl Unpin for FixityDecl
impl UnsafeUnpin for FixityDecl
impl UnwindSafe for FixityDecl
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