pub struct RelPattern {
pub var: Option<String>,
pub types: Vec<String>,
pub hops: Option<HopRange>,
pub dir: Dir,
}Fields§
§var: Option<String>§types: Vec<String>§hops: Option<HopRange>§dir: DirTrait Implementations§
Source§impl Clone for RelPattern
impl Clone for RelPattern
Source§fn clone(&self) -> RelPattern
fn clone(&self) -> RelPattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RelPattern
impl Debug for RelPattern
Source§impl PartialEq for RelPattern
impl PartialEq for RelPattern
impl StructuralPartialEq for RelPattern
Auto Trait Implementations§
impl Freeze for RelPattern
impl RefUnwindSafe for RelPattern
impl Send for RelPattern
impl Sync for RelPattern
impl Unpin for RelPattern
impl UnsafeUnpin for RelPattern
impl UnwindSafe for RelPattern
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