pub struct KeyRange {
low_endpoint: KeyLowEndpoint,
high_endpoint: KeyHighEndpoint,
}
Expand description
Fields§
§low_endpoint: KeyLowEndpoint
§high_endpoint: KeyHighEndpoint
Implementations§
source§impl KeyRange
impl KeyRange
sourcepub fn new(
low_endpoint: KeyLowEndpoint,
high_endpoint: KeyHighEndpoint
) -> KeyRange
pub fn new( low_endpoint: KeyLowEndpoint, high_endpoint: KeyHighEndpoint ) -> KeyRange
Create a KeyRange
pub(crate) fn into_parts(self) -> (KeyLowEndpoint, KeyHighEndpoint)
Trait Implementations§
source§impl PartialEq<KeyRange> for KeyRange
impl PartialEq<KeyRange> for KeyRange
impl StructuralPartialEq for KeyRange
Auto Trait Implementations§
impl RefUnwindSafe for KeyRange
impl Send for KeyRange
impl Sync for KeyRange
impl Unpin for KeyRange
impl UnwindSafe for KeyRange
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