#[repr(C)]pub struct gs_shader_texture {
pub tex: *mut gs_texture_t,
pub srgb: bool,
}
Fields§
§tex: *mut gs_texture_t
§srgb: bool
Trait Implementations§
Source§impl Clone for gs_shader_texture
impl Clone for gs_shader_texture
Source§fn clone(&self) -> gs_shader_texture
fn clone(&self) -> gs_shader_texture
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for gs_shader_texture
impl Debug for gs_shader_texture
Source§impl Ord for gs_shader_texture
impl Ord for gs_shader_texture
Source§fn cmp(&self, other: &gs_shader_texture) -> Ordering
fn cmp(&self, other: &gs_shader_texture) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for gs_shader_texture
impl PartialEq for gs_shader_texture
Source§impl PartialOrd for gs_shader_texture
impl PartialOrd for gs_shader_texture
impl Copy for gs_shader_texture
impl Eq for gs_shader_texture
impl StructuralPartialEq for gs_shader_texture
Auto Trait Implementations§
impl Freeze for gs_shader_texture
impl RefUnwindSafe for gs_shader_texture
impl !Send for gs_shader_texture
impl !Sync for gs_shader_texture
impl Unpin for gs_shader_texture
impl UnwindSafe for gs_shader_texture
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