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
impl 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
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AddressRange
impl PartialEq for AddressRange
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 Forget for AddressRange
impl Freeze for AddressRange
impl Move 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