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
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.