pub struct NotationEntry {
pub symbol: String,
pub decl_name: String,
pub fixity: Fixity,
pub prec: Prec,
pub deprecated: bool,
}Expand description
A registered notation (operator or mixfix).
Fields§
§symbol: StringThe notation symbol string (e.g., +).
decl_name: StringAssociated declaration name.
fixity: FixityFixity and associativity.
prec: PrecBinding precedence.
deprecated: boolWhether the notation is deprecated.
Implementations§
Trait Implementations§
Source§impl Clone for NotationEntry
impl Clone for NotationEntry
Source§fn clone(&self) -> NotationEntry
fn clone(&self) -> NotationEntry
Returns a duplicate 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 NotationEntry
impl Debug for NotationEntry
Auto Trait Implementations§
impl Freeze for NotationEntry
impl RefUnwindSafe for NotationEntry
impl Send for NotationEntry
impl Sync for NotationEntry
impl Unpin for NotationEntry
impl UnsafeUnpin for NotationEntry
impl UnwindSafe for NotationEntry
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