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§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
§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<&SubtypeElement>> for PerVisibleRangeConstraints
impl TryFrom<Option<&SubtypeElement>> for PerVisibleRangeConstraints
§type Error = GrammarError
type Error = GrammarError
The type returned in the event of a conversion error.
source§fn try_from(
value: Option<&SubtypeElement>
) -> Result<PerVisibleRangeConstraints, Self::Error>
fn try_from( value: Option<&SubtypeElement> ) -> Result<PerVisibleRangeConstraints, Self::Error>
Performs the conversion.
Auto Trait Implementations§
impl RefUnwindSafe for PerVisibleRangeConstraints
impl Send for PerVisibleRangeConstraints
impl Sync for PerVisibleRangeConstraints
impl Unpin for PerVisibleRangeConstraints
impl UnwindSafe for PerVisibleRangeConstraints
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