pub struct RelPat {
pub var: Option<String>,
pub etype: Option<String>,
pub dir: RelDir,
pub hops: Option<HopRange>,
}Fields§
§var: Option<String>§etype: Option<String>§dir: RelDir§hops: Option<HopRange>None = single-hop (normal Expand). Some(r) = variable-length
(VarExpand) with the given min/max hop bounds.
Trait Implementations§
impl StructuralPartialEq for RelPat
Auto Trait Implementations§
impl Freeze for RelPat
impl RefUnwindSafe for RelPat
impl Send for RelPat
impl Sync for RelPat
impl Unpin for RelPat
impl UnsafeUnpin for RelPat
impl UnwindSafe for RelPat
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