pub struct VisualReadback { /* private fields */ }Expand description
The two readback slots of a visual.
Implementations§
Source§impl VisualReadback
impl VisualReadback
pub fn new() -> Self
pub fn get_readback(&self, reader_revision: u64) -> Option<ReadbackData>
pub fn update_readback( &self, writer_revision: u64, reader_revision: u64, data: ReadbackData, )
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for VisualReadback
impl RefUnwindSafe for VisualReadback
impl Send for VisualReadback
impl Sync for VisualReadback
impl Unpin for VisualReadback
impl UnsafeUnpin for VisualReadback
impl UnwindSafe for VisualReadback
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more