pub struct SinglePath {
pub from: String,
pub to: String,
pub when: Option<When>,
}Expand description
The paths and gate of a rule with one path on each side.
Fields§
§from: StringThe native-side path.
to: StringThe shared-side path.
when: Option<When>The rule’s gate.
Trait Implementations§
Source§impl Clone for SinglePath
impl Clone for SinglePath
Source§impl Debug for SinglePath
impl Debug for SinglePath
Source§impl PartialEq for SinglePath
impl PartialEq for SinglePath
impl StructuralPartialEq for SinglePath
Auto Trait Implementations§
impl Forget for SinglePath
impl Freeze for SinglePath
impl Move for SinglePath
impl RefUnwindSafe for SinglePath
impl Send for SinglePath
impl Sync for SinglePath
impl Unpin for SinglePath
impl UnsafeUnpin for SinglePath
impl UnwindSafe for SinglePath
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