pub struct NumericMin { /* private fields */ }
Implementations§
Source§impl NumericMin
impl NumericMin
pub fn new( is_exclusive: bool, path: DocumentPath, ctx: &Context<'_>, ) -> Result<Self, Error>
pub fn allowed_types() -> HashSet<AllowedType>
pub fn build_inclusive( _: &mut State, path: DocumentPath, ctx: &Context<'_>, ) -> Result<Box<dyn Attribute>, Error>
pub fn build_exclusive( _: &mut State, path: DocumentPath, ctx: &Context<'_>, ) -> Result<Box<dyn Attribute>, Error>
Trait Implementations§
Source§impl Attribute for NumericMin
impl Attribute for NumericMin
Auto Trait Implementations§
impl Freeze for NumericMin
impl RefUnwindSafe for NumericMin
impl Send for NumericMin
impl Sync for NumericMin
impl Unpin for NumericMin
impl UnwindSafe for NumericMin
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