Struct irondash_texture::SendableTexture
source · pub struct SendableTexture<T: 'static> { /* private fields */ }
Expand description
SendableTexture is Send and Sync so it can be sent between threads, but it can only update the texture, it can not retrieve payload (such as Surface or NativeWindow on Android).
Implementations§
source§impl<T> SendableTexture<T>
impl<T> SendableTexture<T>
pub fn mark_frame_available(self: &Arc<Self>)
Auto Trait Implementations§
impl<T> RefUnwindSafe for SendableTexture<T>
impl<T> Send for SendableTexture<T>
impl<T> Sync for SendableTexture<T>
impl<T> Unpin for SendableTexture<T>
impl<T> UnwindSafe for SendableTexture<T>
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