Struct gfx_device_gl::ResourceView
source · pub struct ResourceView { /* private fields */ }
Implementations
sourceimpl ResourceView
impl ResourceView
pub fn new_texture(t: Texture, kind: Kind) -> ResourceView
pub fn new_texture_owned(t: Texture, kind: Kind) -> ResourceView
pub fn new_buffer(b: Texture) -> ResourceView
Trait Implementations
sourceimpl Clone for ResourceView
impl Clone for ResourceView
sourcefn clone(&self) -> ResourceView
fn clone(&self) -> ResourceView
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ResourceView
impl Debug for ResourceView
sourceimpl Hash for ResourceView
impl Hash for ResourceView
sourceimpl PartialEq<ResourceView> for ResourceView
impl PartialEq<ResourceView> for ResourceView
sourcefn eq(&self, other: &ResourceView) -> bool
fn eq(&self, other: &ResourceView) -> bool
impl Copy for ResourceView
impl Eq for ResourceView
impl StructuralEq for ResourceView
impl StructuralPartialEq for ResourceView
Auto Trait Implementations
impl RefUnwindSafe for ResourceView
impl Send for ResourceView
impl Sync for ResourceView
impl Unpin for ResourceView
impl UnwindSafe for ResourceView
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