[][src]Struct artichoke_backend::block::NoBlockGiven

pub struct NoBlockGiven(_);

Implementations

impl NoBlockGiven[src]

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

Construce a new, empty no block given error.

The inner Ruby type is nil.

#[must_use]pub const fn ruby_type(self) -> Ruby[src]

Return the Ruby type of the object given instead of a block.

Trait Implementations

impl Clone for NoBlockGiven[src]

impl Copy for NoBlockGiven[src]

impl Debug for NoBlockGiven[src]

impl Default for NoBlockGiven[src]

impl Display for NoBlockGiven[src]

impl Eq for NoBlockGiven[src]

impl Error for NoBlockGiven[src]

impl From<NoBlockGiven> for Error[src]

impl From<Ruby> for NoBlockGiven[src]

impl From<Value> for NoBlockGiven[src]

impl From<mrb_value> for NoBlockGiven[src]

impl Hash for NoBlockGiven[src]

impl Ord for NoBlockGiven[src]

impl PartialEq<NoBlockGiven> for NoBlockGiven[src]

impl PartialOrd<NoBlockGiven> for NoBlockGiven[src]

impl RubyException for NoBlockGiven[src]

impl StructuralEq for NoBlockGiven[src]

impl StructuralPartialEq for NoBlockGiven[src]

Auto Trait Implementations

impl RefUnwindSafe for NoBlockGiven[src]

impl Send for NoBlockGiven[src]

impl Sync for NoBlockGiven[src]

impl Unpin for NoBlockGiven[src]

impl UnwindSafe for NoBlockGiven[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> ToString for T where
    T: Display + ?Sized
[src]

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]