pub struct AddressRange {
pub start: AddressValue,
pub end: AddressValue,
}Fields§
§start: AddressValue§end: AddressValueImplementations§
Source§impl AddressRange
impl AddressRange
pub fn new(start_inclusive: AddressValue, end_exclusive: AddressValue) -> Self
Trait Implementations§
Source§impl Clone for AddressRange
impl Clone for AddressRange
Source§fn clone(&self) -> AddressRange
fn clone(&self) -> AddressRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AddressRange
Source§impl Debug for AddressRange
impl Debug for AddressRange
Source§impl<'de> Deserialize<'de> for AddressRange
impl<'de> Deserialize<'de> for AddressRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AddressRange
Source§impl<T: RangeBounds<AddressValue>> From<T> for AddressRange
impl<T: RangeBounds<AddressValue>> From<T> for AddressRange
Source§impl Hash for AddressRange
impl Hash for AddressRange
Source§impl Ord for AddressRange
impl Ord for AddressRange
Source§fn cmp(&self, other: &AddressRange) -> Ordering
fn cmp(&self, other: &AddressRange) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AddressRange
impl PartialEq for AddressRange
Source§fn eq(&self, other: &AddressRange) -> bool
fn eq(&self, other: &AddressRange) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AddressRange
impl PartialOrd for AddressRange
Source§impl Serialize for AddressRange
impl Serialize for AddressRange
impl StructuralPartialEq for AddressRange
Auto Trait Implementations§
impl Freeze for AddressRange
impl RefUnwindSafe for AddressRange
impl Send for AddressRange
impl Sync for AddressRange
impl Unpin for AddressRange
impl UnsafeUnpin for AddressRange
impl UnwindSafe for AddressRange
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