pub struct StationedOpenSection {
pub profile: NodeId,
pub tags: Vec<String>,
pub station: Station,
}Expand description
An open section standing at a station along a sectioned surface’s directrix, its points named by tags.
tags names the vertices of the section’s polyline in order; two
consecutive sections are joined point to point by equal tags. Every
section of one surface carries the same tags, in the first section’s
order or in reverse, or none (then the vertices are joined by index);
see the module documentation.
Fields§
§profile: NodeIdOpen profile node.
One tag per vertex, or empty.
station: StationDistance along the directrix and offsets of the profile’s origin.
Trait Implementations§
Source§impl Clone for StationedOpenSection
impl Clone for StationedOpenSection
Source§fn clone(&self) -> StationedOpenSection
fn clone(&self) -> StationedOpenSection
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 moreSource§impl Debug for StationedOpenSection
impl Debug for StationedOpenSection
Source§impl<'de> Deserialize<'de> for StationedOpenSection
impl<'de> Deserialize<'de> for StationedOpenSection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StationedOpenSection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StationedOpenSection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<StationedOpenSection> for SectionAtStation
impl From<StationedOpenSection> for SectionAtStation
Source§fn from(section: StationedOpenSection) -> SectionAtStation
fn from(section: StationedOpenSection) -> SectionAtStation
Converts to this type from the input type.
Source§impl PartialEq for StationedOpenSection
impl PartialEq for StationedOpenSection
Source§impl Serialize for StationedOpenSection
impl Serialize for StationedOpenSection
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 StationedOpenSection
Auto Trait Implementations§
impl Freeze for StationedOpenSection
impl RefUnwindSafe for StationedOpenSection
impl Send for StationedOpenSection
impl Sync for StationedOpenSection
impl Unpin for StationedOpenSection
impl UnsafeUnpin for StationedOpenSection
impl UnwindSafe for StationedOpenSection
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