pub struct StationedSection {
pub profile: NodeId,
pub station: Station,
}Expand description
A closed profile standing at a station along a sectioned spine’s directrix.
Fields§
§profile: NodeIdArea profile node.
station: StationDistance along the directrix and offsets of the profile’s origin.
Trait Implementations§
Source§impl Clone for StationedSection
impl Clone for StationedSection
Source§fn clone(&self) -> StationedSection
fn clone(&self) -> StationedSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StationedSection
Source§impl Debug for StationedSection
impl Debug for StationedSection
Source§impl<'de> Deserialize<'de> for StationedSection
impl<'de> Deserialize<'de> for StationedSection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StationedSection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StationedSection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<StationedSection> for SectionAtStation
impl From<StationedSection> for SectionAtStation
Source§fn from(section: StationedSection) -> SectionAtStation
fn from(section: StationedSection) -> SectionAtStation
Converts to this type from the input type.
Source§impl PartialEq for StationedSection
impl PartialEq for StationedSection
Source§impl Serialize for StationedSection
impl Serialize for StationedSection
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StationedSection
Auto Trait Implementations§
impl Freeze for StationedSection
impl RefUnwindSafe for StationedSection
impl Send for StationedSection
impl Sync for StationedSection
impl Unpin for StationedSection
impl UnsafeUnpin for StationedSection
impl UnwindSafe for StationedSection
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more