Struct tc_value::Range [−][src]
A range comprising a start and end Bound
Fields
start: Bound
end: Bound
Implementations
impl Range
[src]
impl Range
[src]pub fn contains_range(&self, inner: &Self, collator: &ValueCollator) -> bool
[src]
Return true if the given Range
is within this Range
.
pub fn contains_value(&self, value: &Value, collator: &ValueCollator) -> bool
[src]
Return true if the given Value
is within this Range
.
Trait Implementations
impl FromStream for Range
[src]
impl FromStream for Range
[src]type Context = ()
The decoding context of this type, useful in situations where the stream to be decoded may be too large to hold in main memory. Read more
fn from_stream<'life0, 'async_trait, D: Decoder>(
cxt: (),
decoder: &'life0 mut D
) -> Pin<Box<dyn Future<Output = Result<Self, D::Error>> + Send + 'async_trait>> where
D: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
cxt: (),
decoder: &'life0 mut D
) -> Pin<Box<dyn Future<Output = Result<Self, D::Error>> + Send + 'async_trait>> where
D: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
impl<'en> IntoStream<'en> for Range
[src]
impl<'en> IntoStream<'en> for Range
[src]impl StructuralEq for Range
[src]
impl StructuralEq for Range
[src]impl StructuralPartialEq for Range
[src]
impl StructuralPartialEq for Range
[src]Auto Trait Implementations
impl RefUnwindSafe for Range
impl RefUnwindSafe for Range
impl UnwindSafe for Range
impl UnwindSafe for Range
Blanket Implementations
impl<F, T> TryCastFrom<F> for T where
T: CastFrom<F>,
[src]
impl<F, T> TryCastFrom<F> for T where
T: CastFrom<F>,
[src]pub fn can_cast_from(&F) -> bool
[src]
pub fn opt_cast_from(f: F) -> Option<T>
[src]
pub fn try_cast_from<Err, OnErr>(value: T, on_err: OnErr) -> Result<Self, Err> where
OnErr: FnOnce(&T) -> Err,
[src]
OnErr: FnOnce(&T) -> Err,
impl<F, T> TryCastInto<T> for F where
T: TryCastFrom<F>,
[src]
impl<F, T> TryCastInto<T> for F where
T: TryCastFrom<F>,
[src]pub fn can_cast_into(&self) -> bool
[src]
pub fn opt_cast_into(self) -> Option<T>
[src]
pub fn try_cast_into<Err, OnErr>(self, on_err: OnErr) -> Result<T, Err> where
OnErr: FnOnce(&Self) -> Err,
[src]
OnErr: FnOnce(&Self) -> Err,