pub struct HopRange {
pub min: u8,
pub max: u8,
}Expand description
Hop-count range for variable-length relationship patterns (*min..max).
Both bounds are inclusive. min = max is a fixed-hop pattern.
Fields§
§min: u8§max: u8Trait Implementations§
impl Copy for HopRange
impl Eq for HopRange
impl StructuralPartialEq for HopRange
Auto Trait Implementations§
impl Freeze for HopRange
impl RefUnwindSafe for HopRange
impl Send for HopRange
impl Sync for HopRange
impl Unpin for HopRange
impl UnsafeUnpin for HopRange
impl UnwindSafe for HopRange
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