pub struct UsedSubTypes {
pub globals: Vec<Rc<Component>>,
pub structs: Vec<Type>,
pub sub_components: Vec<Rc<Component>>,
}
Expand description
Used sub types for a root component
Fields§
§globals: Vec<Rc<Component>>
All the globals used by the component and its children.
structs: Vec<Type>
All the structs used by the component and its children.
sub_components: Vec<Rc<Component>>
All the sub components use by this components and its children, and the amount of time it is used
Trait Implementations§
Source§impl Debug for UsedSubTypes
impl Debug for UsedSubTypes
Source§impl Default for UsedSubTypes
impl Default for UsedSubTypes
Source§fn default() -> UsedSubTypes
fn default() -> UsedSubTypes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UsedSubTypes
impl !RefUnwindSafe for UsedSubTypes
impl !Send for UsedSubTypes
impl !Sync for UsedSubTypes
impl Unpin for UsedSubTypes
impl !UnwindSafe for UsedSubTypes
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