pub struct FreeAlgebra {
pub variety_name: String,
pub num_generators: usize,
}Expand description
Free algebra in a variety.
Fields§
§variety_name: String§num_generators: usizeImplementations§
Source§impl FreeAlgebra
impl FreeAlgebra
pub fn new(variety: &str, generators: usize) -> Self
pub fn universal_property(&self) -> String
pub fn word_problem_decidable(&self) -> bool
Trait Implementations§
Source§impl Clone for FreeAlgebra
impl Clone for FreeAlgebra
Source§fn clone(&self) -> FreeAlgebra
fn clone(&self) -> FreeAlgebra
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 moreAuto Trait Implementations§
impl Freeze for FreeAlgebra
impl RefUnwindSafe for FreeAlgebra
impl Send for FreeAlgebra
impl Sync for FreeAlgebra
impl Unpin for FreeAlgebra
impl UnsafeUnpin for FreeAlgebra
impl UnwindSafe for FreeAlgebra
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