#[repr(C)]pub struct gs_sampler_info {
pub filter: gs_sample_filter,
pub address_u: gs_address_mode,
pub address_v: gs_address_mode,
pub address_w: gs_address_mode,
pub max_anisotropy: c_int,
pub border_color: u32,
}
Fields§
§filter: gs_sample_filter
§address_u: gs_address_mode
§address_v: gs_address_mode
§address_w: gs_address_mode
§max_anisotropy: c_int
§border_color: u32
Trait Implementations§
Source§impl Clone for gs_sampler_info
impl Clone for gs_sampler_info
Source§fn clone(&self) -> gs_sampler_info
fn clone(&self) -> gs_sampler_info
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_sampler_info
impl Debug for gs_sampler_info
Source§impl Ord for gs_sampler_info
impl Ord for gs_sampler_info
Source§fn cmp(&self, other: &gs_sampler_info) -> Ordering
fn cmp(&self, other: &gs_sampler_info) -> 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_sampler_info
impl PartialEq for gs_sampler_info
Source§impl PartialOrd for gs_sampler_info
impl PartialOrd for gs_sampler_info
impl Copy for gs_sampler_info
impl Eq for gs_sampler_info
impl StructuralPartialEq for gs_sampler_info
Auto Trait Implementations§
impl Freeze for gs_sampler_info
impl RefUnwindSafe for gs_sampler_info
impl Send for gs_sampler_info
impl Sync for gs_sampler_info
impl Unpin for gs_sampler_info
impl UnwindSafe for gs_sampler_info
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