#[repr(C)]pub struct Light2DBlendStyle_TextureChannel {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl Light2DBlendStyle_TextureChannel
impl Light2DBlendStyle_TextureChannel
pub fn none() -> Self
pub fn r() -> Self
pub fn g() -> Self
pub fn b() -> Self
pub fn a() -> Self
pub fn one_minus_r() -> Self
pub fn one_minus_g() -> Self
pub fn one_minus_b() -> Self
pub fn one_minus_a() -> Self
Trait Implementations§
Source§impl Clone for Light2DBlendStyle_TextureChannel
impl Clone for Light2DBlendStyle_TextureChannel
Source§fn clone(&self) -> Light2DBlendStyle_TextureChannel
fn clone(&self) -> Light2DBlendStyle_TextureChannel
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Light2DBlendStyle_TextureChannel
impl Debug for Light2DBlendStyle_TextureChannel
Source§impl PartialEq for Light2DBlendStyle_TextureChannel
impl PartialEq for Light2DBlendStyle_TextureChannel
impl Copy for Light2DBlendStyle_TextureChannel
impl Eq for Light2DBlendStyle_TextureChannel
impl StructuralPartialEq for Light2DBlendStyle_TextureChannel
Auto Trait Implementations§
impl Freeze for Light2DBlendStyle_TextureChannel
impl RefUnwindSafe for Light2DBlendStyle_TextureChannel
impl Send for Light2DBlendStyle_TextureChannel
impl Sync for Light2DBlendStyle_TextureChannel
impl Unpin for Light2DBlendStyle_TextureChannel
impl UnwindSafe for Light2DBlendStyle_TextureChannel
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)