pub struct Polynomial { /* private fields */ }Expand description
An alphabetically ordered and deduplicated list of monomials,
where each monomial is alphabetically ordered and deduplicated
list of Nodes.
The is_flat flag indicates whether a Polynomial may be
interpreted as a NodeList. The flag is set if the textual
form the Polynomial originated from was syntactically valid as a
node list, or if the Polynomial is the result of
Polynomial::flattened_clone.
Trait Implementations§
Source§impl Clone for Polynomial
impl Clone for Polynomial
Source§fn clone(&self) -> Polynomial
fn clone(&self) -> Polynomial
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 Polynomial
impl Debug for Polynomial
Source§impl Default for Polynomial
impl Default for Polynomial
Source§impl From<&str> for Polynomial
impl From<&str> for Polynomial
Source§impl From<Node> for Polynomial
impl From<Node> for Polynomial
Source§impl From<NodeList> for Polynomial
impl From<NodeList> for Polynomial
Source§impl FromStr for Polynomial
impl FromStr for Polynomial
Source§type Err = ParseError<usize, String, AscesisError>
type Err = ParseError<usize, String, AscesisError>
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<Self, ParseError<usize, String, AscesisError>>
fn from_str(s: &str) -> Result<Self, ParseError<usize, String, AscesisError>>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for Polynomial
impl PartialEq for Polynomial
Source§impl TryFrom<Polynomial> for NodeList
impl TryFrom<Polynomial> for NodeList
impl Eq for Polynomial
impl StructuralPartialEq for Polynomial
Auto Trait Implementations§
impl Freeze for Polynomial
impl RefUnwindSafe for Polynomial
impl Send for Polynomial
impl Sync for Polynomial
impl Unpin for Polynomial
impl UnwindSafe for Polynomial
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference
impl<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference
Source§unsafe fn part_ptr(
ptr: *const <Reference as PartialRefTarget>::RawTarget,
) -> <<Inner as Part>::PartType as PartType>::Ptr
unsafe fn part_ptr( ptr: *const <Reference as PartialRefTarget>::RawTarget, ) -> <<Inner as Part>::PartType as PartType>::Ptr
Given a constant pointer to a target, produce a constant pointer to a part of it.
Source§unsafe fn part_ptr_mut(
ptr: *mut <Reference as PartialRefTarget>::RawTarget,
) -> <<Inner as Part>::PartType as PartType>::PtrMut
unsafe fn part_ptr_mut( ptr: *mut <Reference as PartialRefTarget>::RawTarget, ) -> <<Inner as Part>::PartType as PartType>::PtrMut
Given a mutable pointer to a target, produce a mutable pointer to a part of it.