pub struct TestScene<S: Scalar> {
pub name: String,
pub part: Part<S>,
pub solid_a: SolidId,
pub solid_b: SolidId,
}Expand description
A named pair of solids, built together in one Part as the
operations a and b, ready for whatever a boolean-revival step wants
to do with them.
Fields§
§name: String§part: Part<S>§solid_a: SolidId§solid_b: SolidIdAuto Trait Implementations§
impl<S> Freeze for TestScene<S>
impl<S> RefUnwindSafe for TestScene<S>where
S: RefUnwindSafe,
impl<S> Send for TestScene<S>
impl<S> Sync for TestScene<S>
impl<S> Unpin for TestScene<S>where
S: Unpin,
impl<S> UnsafeUnpin for TestScene<S>
impl<S> UnwindSafe for TestScene<S>where
S: UnwindSafe + RefUnwindSafe,
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
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