pub struct SamplerClamp;Expand description
A texture sampler that clamps out-of-bounds coordinates to the nearest valid coordinate in both dimensions.
Implementations§
Trait Implementations§
Source§impl Clone for SamplerClamp
impl Clone for SamplerClamp
Source§fn clone(&self) -> SamplerClamp
fn clone(&self) -> SamplerClamp
Returns a duplicate 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 SamplerClamp
impl Debug for SamplerClamp
impl Copy for SamplerClamp
Auto Trait Implementations§
impl Freeze for SamplerClamp
impl RefUnwindSafe for SamplerClamp
impl Send for SamplerClamp
impl Sync for SamplerClamp
impl Unpin for SamplerClamp
impl UnwindSafe for SamplerClamp
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