pub struct I64Object(/* private fields */);

Implementations§

source§

impl I64Object

source

pub const fn as_val(&self) -> &Val

source

pub const fn to_val(&self) -> Val

source§

impl I64Object

source

pub const unsafe fn from_handle(handle: u32) -> I64Object

source

pub const fn get_handle(&self) -> u32

Trait Implementations§

source§

impl AsMut<Val> for I64Object

source§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsRef<Val> for I64Object

source§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl CheckedEnvArg for I64Object

source§

fn check_env_arg<E>(self, e: &E) -> Result<I64Object, <E as EnvBase>::Error>
where E: Env,

source§

impl Clone for I64Object

source§

fn clone(&self) -> I64Object

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<E> Compare<I64Object> for E
where E: Env,

§

type Error = <E as EnvBase>::Error

source§

fn compare( &self, a: &I64Object, b: &I64Object ) -> Result<Ordering, <E as Compare<I64Object>>::Error>

source§

impl Debug for I64Object

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<&I64Object> for Val

source§

fn from(b: &I64Object) -> Val

Converts to this type from the input type.
source§

impl From<I64Object> for I64Val

source§

fn from(ob: I64Object) -> I64Val

Converts to this type from the input type.
source§

impl From<I64Object> for Object

source§

fn from(x: I64Object) -> Object

Converts to this type from the input type.
source§

impl From<I64Object> for Val

source§

fn from(b: I64Object) -> Val

Converts to this type from the input type.
source§

impl Hash for I64Object

source§

fn hash<H>(&self, state: &mut H)
where H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl TryFrom<&Val> for I64Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(v: &Val) -> Result<I64Object, <I64Object as TryFrom<&Val>>::Error>

Performs the conversion.
source§

impl TryFrom<I64Val> for I64Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from( s: I64Val ) -> Result<I64Object, <I64Object as TryFrom<I64Val>>::Error>

Performs the conversion.
source§

impl TryFrom<Object> for I64Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from( x: Object ) -> Result<I64Object, <I64Object as TryFrom<Object>>::Error>

Performs the conversion.
source§

impl TryFrom<Val> for I64Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(v: Val) -> Result<I64Object, <I64Object as TryFrom<Val>>::Error>

Performs the conversion.
source§

impl<E> TryFromVal<E, I64Object> for Val
where E: Env,

source§

impl<E> TryFromVal<E, Val> for I64Object
where E: Env,

source§

impl Copy for I64Object

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T, C> Compare<&T> for C
where C: Compare<T>,

§

type Error = <C as Compare<T>>::Error

source§

fn compare(&self, a: &&T, b: &&T) -> Result<Ordering, <C as Compare<&T>>::Error>

source§

impl<T, U, E, C> Compare<(T, U)> for C
where C: Compare<T, Error = E, Error = E> + Compare<U>,

§

type Error = E

source§

fn compare( &self, a: &(T, U), b: &(T, U) ) -> Result<Ordering, <C as Compare<(T, U)>>::Error>

source§

impl<T, U, V, E, C> Compare<(T, U, V)> for C
where C: Compare<T, Error = E, Error = E, Error = E> + Compare<U> + Compare<V>,

§

type Error = E

source§

fn compare( &self, a: &(T, U, V), b: &(T, U, V) ) -> Result<Ordering, <C as Compare<(T, U, V)>>::Error>

source§

impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
where C: Compare<T, Error = E, Error = E, Error = E, Error = E> + Compare<U> + Compare<V> + Compare<W>,

source§

impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
where C: Compare<T, Error = E, Error = E, Error = E, Error = E, Error = E> + Compare<U> + Compare<V> + Compare<W> + Compare<X>,

source§

impl<T, C> Compare<Option<T>> for C
where C: Compare<T>,

§

type Error = <C as Compare<T>>::Error

source§

fn compare( &self, a: &Option<T>, b: &Option<T> ) -> Result<Ordering, <C as Compare<Option<T>>>::Error>

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<E, T, U> TryIntoVal<E, T> for U
where E: Env, T: TryFromVal<E, U>,

§

type Error = <T as TryFromVal<E, U>>::Error

source§

fn try_into_val(&self, env: &E) -> Result<T, <U as TryIntoVal<E, T>>::Error>