pub trait NonEmptyPath<N: Into<NodeId> + Copy>: Path<N> {
// Provided method
fn last_hop(&self) -> &N { ... }
}Expand description
A Path that is guaranteed to have at least one hop - the destination.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.