pub struct FixityDecl {
pub assoc: FixityAssoc,
pub precedence: u8,
pub operators: Vec<FixityTarget>,
pub pos: Pos,
pub span: Span,
}Expand description
Top-level fixity declaration (infix[l|r]? n op [, op ...]).
Fields§
§assoc: FixityAssoc§precedence: u8§operators: Vec<FixityTarget>§pos: Pos§span: SpanTrait 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 moreSource§impl Debug for FixityDecl
impl Debug for FixityDecl
impl Eq for FixityDecl
Source§impl PartialEq for FixityDecl
impl PartialEq for FixityDecl
Source§fn eq(&self, other: &FixityDecl) -> bool
fn eq(&self, other: &FixityDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FixityDecl
Auto 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