pub struct GraphicsSamplerInfo { /* private fields */ }Implementations§
Source§impl GraphicsSamplerInfo
impl GraphicsSamplerInfo
pub fn new() -> Self
pub fn with_address_u(self, mode: GraphicsAddressMode) -> Self
pub fn with_address_v(self, mode: GraphicsAddressMode) -> Self
pub fn with_address_w(self, mode: GraphicsAddressMode) -> Self
pub fn with_filter(self, mode: GraphicsSampleFilter) -> Self
Trait Implementations§
Source§impl Default for GraphicsSamplerInfo
impl Default for GraphicsSamplerInfo
Source§impl From<GraphicsSamplerInfo> for GraphicsSamplerState
impl From<GraphicsSamplerInfo> for GraphicsSamplerState
Source§fn from(info: GraphicsSamplerInfo) -> GraphicsSamplerState
fn from(info: GraphicsSamplerInfo) -> GraphicsSamplerState
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GraphicsSamplerInfo
impl RefUnwindSafe for GraphicsSamplerInfo
impl Send for GraphicsSamplerInfo
impl Sync for GraphicsSamplerInfo
impl Unpin for GraphicsSamplerInfo
impl UnwindSafe for GraphicsSamplerInfo
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