Struct three_d::WriteMask [−][src]
Defines which channels (red, green, blue, alpha and depth) to write to in a render call.
Fields
red: bool
green: bool
blue: bool
alpha: bool
depth: bool
Implementations
impl WriteMask
[src]
pub const COLOR_AND_DEPTH: Self
[src]
Writes to all channels (red, green, blue, alpha and depth).
pub const COLOR: Self
[src]
Writes to all color channels (red, green, blue and alpha).
pub const DEPTH: Self
[src]
Writes to the depth channel only.
pub const NONE: Self
[src]
Do not write to any channels.
Trait Implementations
impl Clone for WriteMask
[src]
impl Copy for WriteMask
[src]
impl Debug for WriteMask
[src]
impl Default for WriteMask
[src]
impl PartialEq<WriteMask> for WriteMask
[src]
impl StructuralPartialEq for WriteMask
[src]
Auto Trait Implementations
impl RefUnwindSafe for WriteMask
impl Send for WriteMask
impl Sync for WriteMask
impl Unpin for WriteMask
impl UnwindSafe for WriteMask
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,