pub struct BinarySymbol {
pub name: String,
}Expand description
A named binary operator in an algebraic signature.
Fields§
§name: StringImplementations§
Source§impl BinarySymbol
impl BinarySymbol
pub fn new(name: impl Into<String>) -> BinarySymbol
Trait Implementations§
Source§impl Clone for BinarySymbol
impl Clone for BinarySymbol
Source§fn clone(&self) -> BinarySymbol
fn clone(&self) -> BinarySymbol
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 BinarySymbol
impl Debug for BinarySymbol
impl Eq for BinarySymbol
Source§impl PartialEq for BinarySymbol
impl PartialEq for BinarySymbol
Source§fn eq(&self, other: &BinarySymbol) -> bool
fn eq(&self, other: &BinarySymbol) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BinarySymbol
Auto Trait Implementations§
impl Freeze for BinarySymbol
impl RefUnwindSafe for BinarySymbol
impl Send for BinarySymbol
impl Sync for BinarySymbol
impl Unpin for BinarySymbol
impl UnsafeUnpin for BinarySymbol
impl UnwindSafe for BinarySymbol
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