#[non_exhaustive]pub struct PathEdge {
pub source: NodeId,
pub precedence: i64,
}Expand description
An edge a partial path follows.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source: NodeIdThe node the edge leaves.
precedence: i64The edge’s precedence.
Trait Implementations§
impl Copy for PathEdge
impl Eq for PathEdge
impl StructuralPartialEq for PathEdge
Auto Trait Implementations§
impl Forget for PathEdge
impl Freeze for PathEdge
impl RefUnwindSafe for PathEdge
impl Send for PathEdge
impl Sync for PathEdge
impl Unpin for PathEdge
impl UnsafeUnpin for PathEdge
impl UnwindSafe for PathEdge
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