pub struct LocalInformation { /* private fields */ }Expand description
Things that are currently true or have happened
Implementations§
Source§impl LocalInformation
impl LocalInformation
Sourcepub fn register_property_on_type(
&mut self,
on: TypeId,
publicity: Publicity,
under: PropertyKey<'static>,
to: PropertyValue,
)
pub fn register_property_on_type( &mut self, on: TypeId, publicity: Publicity, under: PropertyKey<'static>, to: PropertyValue, )
For interfaces only
pub fn register_property( &mut self, on: TypeId, publicity: Publicity, under: PropertyKey<'static>, value: PropertyValue, position: SpanWithSource, )
pub fn get_events(&self) -> &[Event]
pub fn get_properties_on_type_for_this_level( &self, ty: TypeId, ) -> Option<&Vec<(Publicity, PropertyKey<'_>, PropertyValue)>>
pub fn is_finished(&self) -> bool
Trait Implementations§
Source§impl Debug for LocalInformation
impl Debug for LocalInformation
Source§impl Default for LocalInformation
impl Default for LocalInformation
Source§fn default() -> LocalInformation
fn default() -> LocalInformation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LocalInformation
impl RefUnwindSafe for LocalInformation
impl Send for LocalInformation
impl Sync for LocalInformation
impl Unpin for LocalInformation
impl UnwindSafe for LocalInformation
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