pub struct TAddress(/* private fields */);Expand description
[docs.microsoft.com] D3DTEXTUREADDRESS
Describes the supported texture-addressing modes.
Implementations§
Source§impl TAddress
impl TAddress
Sourcepub const fn from_unchecked(d3d: D3DTEXTUREADDRESS) -> Self
pub const fn from_unchecked(d3d: D3DTEXTUREADDRESS) -> Self
Convert from an underlying winapi D3D... type.
This is probably safe… probably…
Sourcepub const fn into(self) -> D3DTEXTUREADDRESS
pub const fn into(self) -> D3DTEXTUREADDRESS
Convert back into an underlying winapi D3D... type.
Source§impl TextureAddress
impl TextureAddress
pub const Wrap: TextureAddress
pub const Mirror: TextureAddress
pub const Clamp: TextureAddress
pub const Border: TextureAddress
pub const MirrorOnce: TextureAddress
Trait Implementations§
Source§impl Clone for TextureAddress
impl Clone for TextureAddress
Source§fn clone(&self) -> TextureAddress
fn clone(&self) -> TextureAddress
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 Default for TextureAddress
impl Default for TextureAddress
Source§impl From<TextureAddress> for D3DTEXTUREADDRESS
impl From<TextureAddress> for D3DTEXTUREADDRESS
Source§impl Hash for TextureAddress
impl Hash for TextureAddress
Source§impl Ord for TextureAddress
impl Ord for TextureAddress
Source§fn cmp(&self, other: &TextureAddress) -> Ordering
fn cmp(&self, other: &TextureAddress) -> 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 TextureAddress
impl PartialEq for TextureAddress
Source§impl PartialOrd for TextureAddress
impl PartialOrd for TextureAddress
impl Copy for TextureAddress
impl Eq for TextureAddress
impl StructuralPartialEq for TextureAddress
Auto Trait Implementations§
impl Freeze for TextureAddress
impl RefUnwindSafe for TextureAddress
impl Send for TextureAddress
impl Sync for TextureAddress
impl Unpin for TextureAddress
impl UnwindSafe for TextureAddress
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