pub struct NumericMax { /* private fields */ }
Implementations§
Source§impl NumericMax
impl NumericMax
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 NumericMax
impl Attribute for NumericMax
Auto Trait Implementations§
impl Freeze for NumericMax
impl RefUnwindSafe for NumericMax
impl Send for NumericMax
impl Sync for NumericMax
impl Unpin for NumericMax
impl UnwindSafe for NumericMax
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