Struct jsonpath_plus::ast::NonZeroIntLit
source · [−]pub struct NonZeroIntLit { /* private fields */ }
Expand description
A non-zero integer literal, any integer not 0
Implementations
sourceimpl NonZeroIntLit
impl NonZeroIntLit
sourcepub fn as_int(&self) -> NonZeroI64
pub fn as_int(&self) -> NonZeroI64
Get the integer representation of this literal
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NonZeroIntLit
impl Send for NonZeroIntLit
impl Sync for NonZeroIntLit
impl Unpin for NonZeroIntLit
impl UnwindSafe for NonZeroIntLit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more