Struct clojurust::clojure::rust::objects::Number::Integer[][src]

pub struct Integer { /* fields omitted */ }

Implementations

impl Integer[src]

pub fn new(value: i32) -> Object[src]

Trait Implementations

impl Default for Integer[src]

default value of $name is default of $def

impl IObject for Integer[src]

impl Number for Integer[src]

Implementation of Number trait

Auto Trait Implementations

impl RefUnwindSafe for Integer

impl Send for Integer

impl Sync for Integer

impl Unpin for Integer

impl UnwindSafe for Integer

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<S> CastArc for S where
    S: CastFromSync + ?Sized
[src]

impl<S> CastBox for S where
    S: CastFrom + ?Sized
[src]

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

impl<T> CastFromSync for T where
    T: 'static + Sync + Send
[src]

impl<S> CastMut for S where
    S: CastFrom + ?Sized
[src]

impl<S> CastRc for S where
    S: CastFrom + ?Sized
[src]

impl<S> CastRef for S where
    S: CastFrom + ?Sized
[src]

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

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

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

type Output = T

Should always be Self

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.