pub struct Resolution<'a> {
pub pick: Pick<'a>,
pub groups: Vec<Group<'a>>,
pub likely: Option<&'a GeometryFile>,
}Fields§
§pick: Pick<'a>§groups: Vec<Group<'a>>Models, the likely whole assembly first, then by name.
likely: Option<&'a GeometryFile>The file suggested as the whole assembly (only when ambiguous).
Implementations§
Source§impl Resolution<'_>
impl Resolution<'_>
Sourcepub fn file(&self) -> Option<&GeometryFile>
pub fn file(&self) -> Option<&GeometryFile>
The file the mass is computed from.
pub fn is_ambiguous(&self) -> bool
Trait Implementations§
Source§impl<'a> Clone for Resolution<'a>
impl<'a> Clone for Resolution<'a>
Auto Trait Implementations§
impl<'a> Freeze for Resolution<'a>
impl<'a> RefUnwindSafe for Resolution<'a>
impl<'a> Send for Resolution<'a>
impl<'a> Sync for Resolution<'a>
impl<'a> Unpin for Resolution<'a>
impl<'a> UnsafeUnpin for Resolution<'a>
impl<'a> UnwindSafe for Resolution<'a>
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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 moreimpl<T> Parallelizable for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.