pub struct FamilyGrouping {
pub collapsed: Vec<bool>,
pub other_families: Vec<&'static str>,
}Expand description
How a file list is shown for a preferred CAD program.
Fields§
§collapsed: Vec<bool>One flag per file, in the order given: true = a native file of
another family, shown in the collapsed group.
other_families: Vec<&'static str>Short names of the collapsed families, in the order of first appearance (“SolidWorks”, “Inventor”).
Implementations§
Source§impl FamilyGrouping
impl FamilyGrouping
Sourcepub fn collapsed_count(&self) -> usize
pub fn collapsed_count(&self) -> usize
Number of collapsed files.
Trait Implementations§
Source§impl Clone for FamilyGrouping
impl Clone for FamilyGrouping
Source§impl Debug for FamilyGrouping
impl Debug for FamilyGrouping
Source§impl Default for FamilyGrouping
impl Default for FamilyGrouping
impl Eq for FamilyGrouping
Source§impl PartialEq for FamilyGrouping
impl PartialEq for FamilyGrouping
impl StructuralPartialEq for FamilyGrouping
Auto Trait Implementations§
impl Freeze for FamilyGrouping
impl RefUnwindSafe for FamilyGrouping
impl Send for FamilyGrouping
impl Sync for FamilyGrouping
impl Unpin for FamilyGrouping
impl UnsafeUnpin for FamilyGrouping
impl UnwindSafe for FamilyGrouping
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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.