Struct i_slint_compiler::llr::PublicComponent
source · pub struct PublicComponent {
pub public_properties: PublicProperties,
pub private_properties: PrivateProperties,
pub item_tree: ItemTree,
pub sub_components: Vec<Rc<SubComponent>>,
pub globals: Vec<GlobalComponent>,
}Fields§
§public_properties: PublicProperties§private_properties: PrivateProperties§item_tree: ItemTree§sub_components: Vec<Rc<SubComponent>>§globals: Vec<GlobalComponent>Implementations§
source§impl PublicComponent
impl PublicComponent
pub fn for_each_sub_components<'a>( &'a self, visitor: &mut dyn FnMut(&'a SubComponent, &EvaluationContext<'_>) )
pub fn for_each_expression<'a>( &'a self, visitor: &mut dyn FnMut(&'a MutExpression, &EvaluationContext<'_>) )
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PublicComponent
impl !RefUnwindSafe for PublicComponent
impl !Send for PublicComponent
impl !Sync for PublicComponent
impl Unpin for PublicComponent
impl !UnwindSafe for PublicComponent
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