Struct lochnes::video::TextureBufferedVideo
source · [−]pub struct TextureBufferedVideo<'a> { /* private fields */ }
Implementations
sourceimpl<'a> TextureBufferedVideo<'a>
impl<'a> TextureBufferedVideo<'a>
pub fn new<T>(
texture_creator: &'a TextureCreator<T>,
width: u32,
height: u32
) -> Result<Self, TextureValueError>
pub fn copy_to(
&self,
canvas: &mut Canvas<impl RenderTarget>
) -> Result<(), String>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for TextureBufferedVideo<'a>
impl<'a> !Send for TextureBufferedVideo<'a>
impl<'a> !Sync for TextureBufferedVideo<'a>
impl<'a> Unpin for TextureBufferedVideo<'a>
impl<'a> UnwindSafe for TextureBufferedVideo<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more