Struct genet_abi::cast::Ranged[][src]

pub struct Ranged<T, R>(pub T, pub R);

Ranged combinator.

Trait Implementations

impl<T: Clone, R: Clone> Clone for Ranged<T, R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T, X> Typed for Ranged<T, Range<usize>> where
    T: 'static + Typed<Output = X> + Clone,
    X: Into<Variant>, 
[src]

impl<T, X> Typed for Ranged<T, RangeFrom<usize>> where
    T: 'static + Typed<Output = X> + Clone,
    X: Into<Variant>, 
[src]

impl<T, X> Typed for Ranged<T, RangeFull> where
    T: 'static + Typed<Output = X> + Clone,
    X: Into<Variant>, 
[src]

impl<T, X> Typed for Ranged<T, RangeInclusive<usize>> where
    T: 'static + Typed<Output = X> + Clone,
    X: Into<Variant>, 
[src]

impl<T, X> Typed for Ranged<T, RangeTo<usize>> where
    T: 'static + Typed<Output = X> + Clone,
    X: Into<Variant>, 
[src]

impl<T, X> Typed for Ranged<T, RangeToInclusive<usize>> where
    T: 'static + Typed<Output = X> + Clone,
    X: Into<Variant>, 
[src]

Auto Trait Implementations

impl<T, R> Send for Ranged<T, R> where
    R: Send,
    T: Send

impl<T, R> Sync for Ranged<T, R> where
    R: Sync,
    T: Sync