[][src]Struct artichoke_backend::extn::core::integer::Integer

pub struct Integer(_);

Implementations

impl Integer[src]

#[must_use]pub const fn new() -> Self[src]

Constructs a new, default, zero Integer.

#[must_use]pub const fn as_i64(self) -> i64[src]

#[must_use]pub const fn as_f64(self) -> f64[src]

pub fn chr(
    self,
    interp: &mut Artichoke,
    encoding: Option<Value>
) -> Result<Vec<u8>, Error>
[src]

pub fn bit(self, bit: Int) -> Result<Self, Error>[src]

pub fn div(
    self,
    interp: &mut Artichoke,
    denominator: Value
) -> Result<Outcome, Error>
[src]

#[must_use]pub const fn size() -> usize[src]

Trait Implementations

impl Clone for Integer[src]

impl Convert<Integer, Value> for Artichoke[src]

impl Copy for Integer[src]

impl Debug for Integer[src]

impl Default for Integer[src]

impl Eq for Integer[src]

impl From<Integer> for Outcome[src]

impl From<i64> for Integer[src]

impl Hash for Integer[src]

impl Ord for Integer[src]

impl PartialEq<Integer> for Integer[src]

impl PartialOrd<Integer> for Integer[src]

impl StructuralEq for Integer[src]

impl StructuralPartialEq for Integer[src]

impl TryConvert<Value, Integer> for Artichoke[src]

type Error = Error

Error type for failed conversions.

Auto Trait Implementations

impl RefUnwindSafe for Integer[src]

impl Send for Integer[src]

impl Sync for Integer[src]

impl Unpin for Integer[src]

impl UnwindSafe for Integer[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]