Struct mop_blocks::CstrResult [−][src]
pub struct CstrResult { /* fields omitted */ }
Constraint result
Methods
impl CstrResult
[src]
impl CstrResult
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn add_single_weight(&mut self)
[src]
pub fn add_single_weight(&mut self)
pub fn add_weight(&mut self, weight: usize)
[src]
pub fn add_weight(&mut self, weight: usize)
pub fn clear(&mut self)
[src]
pub fn clear(&mut self)
pub fn has_some_weight(&self) -> bool
[src]
pub fn has_some_weight(&self) -> bool
pub fn push_reason(&mut self, reason: &str)
[src]
pub fn push_reason(&mut self, reason: &str)
pub fn push_reason_and_add_weight(&mut self, reason: &str, weight: usize)
[src]
pub fn push_reason_and_add_weight(&mut self, reason: &str, weight: usize)
pub fn push_reason_and_add_single_weight(&mut self, reason: &str)
[src]
pub fn push_reason_and_add_single_weight(&mut self, reason: &str)
pub fn reasons(&self) -> &str
[src]
pub fn reasons(&self) -> &str
pub fn weight(&self) -> usize
[src]
pub fn weight(&self) -> usize
Trait Implementations
impl Clone for CstrResult
[src]
impl Clone for CstrResult
fn clone(&self) -> CstrResult
[src]
fn clone(&self) -> CstrResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for CstrResult
[src]
impl Debug for CstrResult
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for CstrResult
[src]
impl Default for CstrResult
fn default() -> CstrResult
[src]
fn default() -> CstrResult
Returns the "default value" for a type. Read more
impl PartialEq for CstrResult
[src]
impl PartialEq for CstrResult
fn eq(&self, other: &CstrResult) -> bool
[src]
fn eq(&self, other: &CstrResult) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CstrResult) -> bool
[src]
fn ne(&self, other: &CstrResult) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CstrResult
impl Send for CstrResult
impl Sync for CstrResult
impl Sync for CstrResult