#[repr(C)]pub struct Range {
pub min: i64,
pub max: i64,
}Expand description
Describe a Range of values.
Fields§
§min: i64§max: i64Trait Implementations§
Source§impl<'a, ___E> Encode<Range, ___E> for &'a Rangewhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Range, ___E> for &'a Rangewhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<Range, ___E> for Rangewhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Range, ___E> for Rangewhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Range, Range>
const COPY_OPTIMIZATION: CopyOptimization<Range, Range>
Source§impl FromWireRef<Range> for Range
impl FromWireRef<Range> for Range
Source§fn from_wire_ref(wire: &Range) -> Range
fn from_wire_ref(wire: &Range) -> Range
Converts the given reference to this type.
Source§impl Ord for Range
impl Ord for Range
Source§impl PartialOrd for Range
impl PartialOrd for Range
impl Copy for Range
impl Eq for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnsafeUnpin for Range
impl UnwindSafe for Range
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]