pub struct SpecInstance {
pub prefix: Vec<PathSegment>,
}Expand description
The hops that name a spec instance, relative to the plan holding it: uses hops
(rack.low), or a list hop with its row number (staff.2).
Fields§
§prefix: Vec<PathSegment>Implementations§
Source§impl SpecInstance
impl SpecInstance
pub fn structural_byte_size(&self) -> usize
Trait Implementations§
Source§impl Clone for SpecInstance
impl Clone for SpecInstance
Source§impl Debug for SpecInstance
impl Debug for SpecInstance
Source§impl Display for SpecInstance
impl Display for SpecInstance
impl Eq for SpecInstance
Source§impl Hash for SpecInstance
impl Hash for SpecInstance
Source§impl Ord for SpecInstance
impl Ord for SpecInstance
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SpecInstance
impl PartialEq for SpecInstance
Source§impl PartialOrd for SpecInstance
impl PartialOrd for SpecInstance
impl StructuralPartialEq for SpecInstance
Auto Trait Implementations§
impl Forget for SpecInstance
impl Freeze for SpecInstance
impl RefUnwindSafe for SpecInstance
impl Send for SpecInstance
impl Sync for SpecInstance
impl Unpin for SpecInstance
impl UnsafeUnpin for SpecInstance
impl UnwindSafe for SpecInstance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.