Struct graphics_tree::TextureBuffer
source · pub struct TextureBuffer<F, T> {
pub factory: F,
/* private fields */
}
Expand description
Stores textures.
Fields
factory: F
The factory that creates textures.
Implementations
sourceimpl<F, T> TextureBuffer<F, T>
impl<F, T> TextureBuffer<F, T>
sourcepub fn new(factory: F) -> TextureBuffer<F, T>
pub fn new(factory: F) -> TextureBuffer<F, T>
Creates a new TextureBuffer
.
Auto Trait Implementations
impl<F, T> RefUnwindSafe for TextureBuffer<F, T>where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<F, T> Send for TextureBuffer<F, T>where
F: Send,
T: Send,
impl<F, T> Sync for TextureBuffer<F, T>where
F: Sync,
T: Sync,
impl<F, T> Unpin for TextureBuffer<F, T>where
F: Unpin,
T: Unpin,
impl<F, T> UnwindSafe for TextureBuffer<F, T>where
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.