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