pub struct EdgeDisplay {
pub name: String,
pub topo_id: u64,
pub polyline: Vec<[f32; 3]>,
pub aux: bool,
pub centerline: bool,
}Expand description
One display edge: a world-space polyline plus the kernel edge identity and the typed flags the previous display layer kept per object.
Fields§
§name: StringKernel edge name (faceA|faceB[n] convention); empty when unnamed.
topo_id: u64Kernel topology edge id.
polyline: Vec<[f32; 3]>World-space polyline (chord-tolerance sampled, ≥ 2 points).
aux: boolAuxiliary display edge (not a real BREP boundary).
centerline: boolCenterline flag (hole/revolve axis display).
Trait Implementations§
Source§impl Clone for EdgeDisplay
impl Clone for EdgeDisplay
Source§fn clone(&self) -> EdgeDisplay
fn clone(&self) -> EdgeDisplay
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 EdgeDisplay
impl Debug for EdgeDisplay
Source§impl<'de> Deserialize<'de> for EdgeDisplay
impl<'de> Deserialize<'de> for EdgeDisplay
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EdgeDisplay
impl RefUnwindSafe for EdgeDisplay
impl Send for EdgeDisplay
impl Sync for EdgeDisplay
impl Unpin for EdgeDisplay
impl UnsafeUnpin for EdgeDisplay
impl UnwindSafe for EdgeDisplay
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