pub struct FrameResultGeneration<'a> { /* private fields */ }Expand description
Read-only view over one frame-result generation.
Implementations§
Source§impl<'a> FrameResultGeneration<'a>
impl<'a> FrameResultGeneration<'a>
Sourcepub fn state(&self, widget_id: WidgetId) -> ResourceState
pub fn state(&self, widget_id: WidgetId) -> ResourceState
Returns the state for widget_id in this generation.
Sourcepub fn state_of<W: Widget + ?Sized>(&self, widget: &W) -> ResourceState
pub fn state_of<W: Widget + ?Sized>(&self, widget: &W) -> ResourceState
Returns the state for widget in this generation.
Sourcepub fn state_of_handle<W: Widget>(
&self,
handle: &WidgetHandle<W>,
) -> ResourceState
pub fn state_of_handle<W: Widget>( &self, handle: &WidgetHandle<W>, ) -> ResourceState
Returns the state for the widget stored in handle in this generation.
Trait Implementations§
Source§impl<'a> Clone for FrameResultGeneration<'a>
impl<'a> Clone for FrameResultGeneration<'a>
Source§fn clone(&self) -> FrameResultGeneration<'a>
fn clone(&self) -> FrameResultGeneration<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for FrameResultGeneration<'a>
Auto Trait Implementations§
impl<'a> Freeze for FrameResultGeneration<'a>
impl<'a> RefUnwindSafe for FrameResultGeneration<'a>
impl<'a> !Send for FrameResultGeneration<'a>
impl<'a> !Sync for FrameResultGeneration<'a>
impl<'a> Unpin for FrameResultGeneration<'a>
impl<'a> UnsafeUnpin for FrameResultGeneration<'a>
impl<'a> UnwindSafe for FrameResultGeneration<'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