pub struct InlineSampler {
pub coord: Coord,
pub address: [Address; 3],
pub border_color: BorderColor,
pub mag_filter: Filter,
pub min_filter: Filter,
pub mip_filter: Option<Filter>,
pub lod_clamp: Option<Range<f32>>,
pub max_anisotropy: Option<NonZeroU32>,
pub compare_func: CompareFunc,
}
Fields§
§coord: Coord
§address: [Address; 3]
§border_color: BorderColor
§mag_filter: Filter
§min_filter: Filter
§mip_filter: Option<Filter>
§lod_clamp: Option<Range<f32>>
§max_anisotropy: Option<NonZeroU32>
§compare_func: CompareFunc
Trait Implementations§
source§impl Clone for InlineSampler
impl Clone for InlineSampler
source§fn clone(&self) -> InlineSampler
fn clone(&self) -> InlineSampler
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 InlineSampler
impl Debug for InlineSampler
source§impl Default for InlineSampler
impl Default for InlineSampler
source§fn default() -> InlineSampler
fn default() -> InlineSampler
Returns the “default value” for a type. Read more
source§impl Hash for InlineSampler
impl Hash for InlineSampler
source§impl PartialEq for InlineSampler
impl PartialEq for InlineSampler
source§fn eq(&self, other: &InlineSampler) -> bool
fn eq(&self, other: &InlineSampler) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InlineSampler
impl StructuralPartialEq for InlineSampler
Auto Trait Implementations§
impl Freeze for InlineSampler
impl RefUnwindSafe for InlineSampler
impl Send for InlineSampler
impl Sync for InlineSampler
impl Unpin for InlineSampler
impl UnwindSafe for InlineSampler
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.