pub struct PerVisibleRangeConstraints { /* private fields */ }Implementations§
Source§impl PerVisibleRangeConstraints
impl PerVisibleRangeConstraints
pub fn default_unsigned() -> Self
pub fn is_extensible(&self) -> bool
pub fn min<I: Integer + FromPrimitive>(&self) -> Option<I>
pub fn max<I: Integer + FromPrimitive>(&self) -> Option<I>
pub fn is_size_constraint(&self) -> bool
Trait Implementations§
Source§impl AddAssign for PerVisibleRangeConstraints
impl AddAssign for PerVisibleRangeConstraints
Source§fn add_assign(&mut self, rhs: PerVisibleRangeConstraints)
fn add_assign(&mut self, rhs: PerVisibleRangeConstraints)
Performs the
+= operation. Read moreSource§impl Default for PerVisibleRangeConstraints
impl Default for PerVisibleRangeConstraints
Source§fn default() -> PerVisibleRangeConstraints
fn default() -> PerVisibleRangeConstraints
Returns the “default value” for a type. Read more
Source§impl From<&Choice> for PerVisibleRangeConstraints
impl From<&Choice> for PerVisibleRangeConstraints
Source§impl From<&Enumerated> for PerVisibleRangeConstraints
impl From<&Enumerated> for PerVisibleRangeConstraints
Source§fn from(value: &Enumerated) -> Self
fn from(value: &Enumerated) -> Self
Converts to this type from the input type.
Source§impl TryFrom<&Constraint> for PerVisibleRangeConstraints
impl TryFrom<&Constraint> for PerVisibleRangeConstraints
Source§type Error = GrammarError
type Error = GrammarError
The type returned in the event of a conversion error.
Source§fn try_from(
value: &Constraint,
) -> Result<PerVisibleRangeConstraints, Self::Error>
fn try_from( value: &Constraint, ) -> Result<PerVisibleRangeConstraints, Self::Error>
Performs the conversion.
Source§impl TryFrom<Option<&SubtypeElements>> for PerVisibleRangeConstraints
impl TryFrom<Option<&SubtypeElements>> for PerVisibleRangeConstraints
Source§type Error = GrammarError
type Error = GrammarError
The type returned in the event of a conversion error.
Source§fn try_from(
value: Option<&SubtypeElements>,
) -> Result<PerVisibleRangeConstraints, Self::Error>
fn try_from( value: Option<&SubtypeElements>, ) -> Result<PerVisibleRangeConstraints, Self::Error>
Performs the conversion.