pub struct SolidTrims { /* private fields */ }Expand description
What a pass learns about every trim of one solid that no camera, scale or
clip changes: each face’s [TrimTests], [shell][face]. The projection
cache keeps one per solid it draws (crate::sheets::project), so a
re-projection — another scale, a section or a detail of the same part —
asks nothing a previous one built.
Implementations§
Source§impl SolidTrims
impl SolidTrims
pub fn of(solid: &BrepSolid) -> SolidTrims
Auto Trait Implementations§
impl !RefUnwindSafe for SolidTrims
impl !Sync for SolidTrims
impl Freeze for SolidTrims
impl Send for SolidTrims
impl Unpin for SolidTrims
impl UnsafeUnpin for SolidTrims
impl UnwindSafe for SolidTrims
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> 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