pub struct DegreeKnowledge { /* private fields */ }Implementations§
Source§impl DegreeKnowledge
impl DegreeKnowledge
pub fn new() -> DegreeKnowledge
pub fn set_degree(&mut self, range: &DegreeRange) -> bool
pub fn degree(&self) -> Option<&DegreeRange>
Sourcepub fn is_constant(&self) -> bool
pub fn is_constant(&self) -> bool
Returns true if the degree range is known, and the upper bound is at most constant.
Sourcepub fn is_linear(&self) -> bool
pub fn is_linear(&self) -> bool
Returns true if the degree range is known, and the upper bound is at most linear.
Sourcepub fn is_quadratic(&self) -> bool
pub fn is_quadratic(&self) -> bool
Returns true if the degree range is known, and the upper bound is at most quadratic.
Trait Implementations§
Source§impl Clone for DegreeKnowledge
impl Clone for DegreeKnowledge
Source§fn clone(&self) -> DegreeKnowledge
fn clone(&self) -> DegreeKnowledge
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 Default for DegreeKnowledge
impl Default for DegreeKnowledge
Source§fn default() -> DegreeKnowledge
fn default() -> DegreeKnowledge
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DegreeKnowledge
impl RefUnwindSafe for DegreeKnowledge
impl Send for DegreeKnowledge
impl Sync for DegreeKnowledge
impl Unpin for DegreeKnowledge
impl UnwindSafe for DegreeKnowledge
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