Struct i_slint_compiler::llr::lower_expression::ExpressionContext
source · pub struct ExpressionContext<'a> {
pub component: &'a Rc<Component>,
pub mapping: &'a LoweredSubComponentMapping,
pub state: &'a LoweringState,
pub parent: Option<&'a ExpressionContext<'a>>,
}Fields§
§component: &'a Rc<Component>§mapping: &'a LoweredSubComponentMapping§state: &'a LoweringState§parent: Option<&'a ExpressionContext<'a>>Implementations§
source§impl ExpressionContext<'_>
impl ExpressionContext<'_>
pub fn map_property_reference(&self, from: &NamedReference) -> PropertyReference
Trait Implementations§
source§impl TypeResolutionContext for ExpressionContext<'_>
impl TypeResolutionContext for ExpressionContext<'_>
Auto Trait Implementations§
impl<'a> Freeze for ExpressionContext<'a>
impl<'a> !RefUnwindSafe for ExpressionContext<'a>
impl<'a> !Send for ExpressionContext<'a>
impl<'a> !Sync for ExpressionContext<'a>
impl<'a> Unpin for ExpressionContext<'a>
impl<'a> !UnwindSafe for ExpressionContext<'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
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