pub struct TopologyRequest {
pub id: u64,
pub solids: Vec<(String, u32)>,
}Expand description
A request for the B-rep TOPOLOGY of resident solids, by the handle each display was tessellated from. The drawing sheet’s exact hidden-line pass reads faces and edges, and the resident registry that holds them is thread-local to the runner, so the main side asks for exactly the solids a placement draws and does not already hold. Nothing else ever asks, so a document with no sheet never pays for the topology crossing.
Fields§
§id: u64Monotonic request id (main pairs the reply back by it).
solids: Vec<(String, u32)>(solid name, resident handle) per solid wanted.
Trait Implementations§
Source§impl Clone for TopologyRequest
impl Clone for TopologyRequest
Source§impl Debug for TopologyRequest
impl Debug for TopologyRequest
Source§impl<'de> Deserialize<'de> for TopologyRequest
impl<'de> Deserialize<'de> for TopologyRequest
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 TopologyRequest
impl RefUnwindSafe for TopologyRequest
impl Send for TopologyRequest
impl Sync for TopologyRequest
impl Unpin for TopologyRequest
impl UnsafeUnpin for TopologyRequest
impl UnwindSafe for TopologyRequest
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