pub struct PropertyLookupResult<'a> {
pub resolved_name: Cow<'a, str>,
pub property_type: Type,
pub property_visibility: PropertyVisibility,
pub declared_pure: Option<bool>,
pub is_local_to_component: bool,
pub is_in_direct_base: bool,
pub builtin_function: Option<BuiltinFunction>,
}
Fields§
§resolved_name: Cow<'a, str>
§property_type: Type
§property_visibility: PropertyVisibility
§declared_pure: Option<bool>
§is_local_to_component: bool
True if the property is part of the current component (for visibility purposes)
is_in_direct_base: bool
True if the property in the direct base of the component (for visibility purposes)
builtin_function: Option<BuiltinFunction>
If the property is a builtin function
Implementations§
Trait Implementations§
Source§impl<'a> Debug for PropertyLookupResult<'a>
impl<'a> Debug for PropertyLookupResult<'a>
Source§impl<'a> PartialEq for PropertyLookupResult<'a>
impl<'a> PartialEq for PropertyLookupResult<'a>
Source§fn eq(&self, other: &PropertyLookupResult<'a>) -> bool
fn eq(&self, other: &PropertyLookupResult<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for PropertyLookupResult<'a>
Auto Trait Implementations§
impl<'a> Freeze for PropertyLookupResult<'a>
impl<'a> !RefUnwindSafe for PropertyLookupResult<'a>
impl<'a> !Send for PropertyLookupResult<'a>
impl<'a> !Sync for PropertyLookupResult<'a>
impl<'a> Unpin for PropertyLookupResult<'a>
impl<'a> !UnwindSafe for PropertyLookupResult<'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