pub struct ComposedSetting<S1: Settings, S2: Settings>(/* private fields */);
Trait Implementations§
Source§impl<S1: Clone + Settings, S2: Clone + Settings> Clone for ComposedSetting<S1, S2>
impl<S1: Clone + Settings, S2: Clone + Settings> Clone for ComposedSetting<S1, S2>
Source§fn clone(&self) -> ComposedSetting<S1, S2>
fn clone(&self) -> ComposedSetting<S1, S2>
Returns a copy 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<S1: Default + Settings, S2: Default + Settings> Default for ComposedSetting<S1, S2>
impl<S1: Default + Settings, S2: Default + Settings> Default for ComposedSetting<S1, S2>
Source§fn default() -> ComposedSetting<S1, S2>
fn default() -> ComposedSetting<S1, S2>
Returns the “default value” for a type. Read more
Source§impl<S1: PartialEq + Settings, S2: PartialEq + Settings> PartialEq for ComposedSetting<S1, S2>
impl<S1: PartialEq + Settings, S2: PartialEq + Settings> PartialEq for ComposedSetting<S1, S2>
Source§impl<S1: Settings, S2: Settings> Settings for ComposedSetting<S1, S2>
impl<S1: Settings, S2: Settings> Settings for ComposedSetting<S1, S2>
fn apply<R, F: FnOnce() -> R>( &self, gl: &Gl, cache: &RefCell<SettingsCache>, callback: F, ) -> R
fn depth_test(self, value: bool) -> ComposedSetting<Self, DepthTestSetting>
fn blend(self, value: bool) -> ComposedSetting<Self, BlendSetting>
fn blend_equation( self, color: BlendEquation, alpha: BlendEquation, ) -> ComposedSetting<Self, BlendEquationSetting>
fn blend_function( self, src_rgb: BlendFunction, dst_rgb: BlendFunction, src_alpha: BlendFunction, dst_alpha: BlendFunction, ) -> ComposedSetting<Self, BlendFunctionSetting>
fn depth_function( self, function: DepthFunction, ) -> ComposedSetting<Self, DepthFunction>
fn active_texture( self, index: u32, ) -> ComposedSetting<Self, ActiveTextureSetting>
fn texture( self, index: u32, texture: Texture, ) -> ComposedSetting<Self, TextureSetting>
fn texture_list<T: IntoIterator<Item = Texture>>( self, textures: T, ) -> ComposedSetting<Self, TextureListSetting>
fn texture_filter( self, texture: Texture, filter: TextureFilter, ) -> ComposedSetting<Self, TextureFilterSetting>
fn array_buffer( self, array_buffer: ArrayBuffer, ) -> ComposedSetting<Self, ArrayBufferSetting>
fn items_buffer<T: Item>( self, array_buffer: ItemsBuffer<T>, ) -> ComposedSetting<Self, ArrayBufferSetting>
fn element_buffer( self, element_buffer: ElementsBuffer, ) -> ComposedSetting<Self, ElementBufferSetting>
fn enabled_attributes( self, attributes: &[u32], ) -> ComposedSetting<Self, EnabledAttributesSetting>
fn program(self, program: Program) -> ComposedSetting<Self, ProgramSetting>
fn clear_color( self, r: f32, g: f32, b: f32, alpha: f32, ) -> ComposedSetting<Self, ClearColorSetting>
fn clear_depth(self, value: f32) -> ComposedSetting<Self, ClearDepthSetting>
fn viewport( self, x: i32, y: i32, width: i32, height: i32, ) -> ComposedSetting<Self, ViewportSetting>
fn depth_buffer( self, buffer: DepthBuffer, ) -> ComposedSetting<Self, DepthBufferSetting>
fn frame_buffer( self, buffer: FrameBuffer, ) -> ComposedSetting<Self, FrameBufferSetting>
fn cull_face(self, cull_face: CullFace) -> ComposedSetting<Self, CullFace>
fn color_mask( self, r: bool, g: bool, b: bool, a: bool, ) -> ComposedSetting<Self, ColorMask>
impl<S1: Settings, S2: Settings> StructuralPartialEq for ComposedSetting<S1, S2>
Auto Trait Implementations§
impl<S1, S2> Freeze for ComposedSetting<S1, S2>
impl<S1, S2> RefUnwindSafe for ComposedSetting<S1, S2>where
S1: RefUnwindSafe,
S2: RefUnwindSafe,
impl<S1, S2> Send for ComposedSetting<S1, S2>
impl<S1, S2> Sync for ComposedSetting<S1, S2>
impl<S1, S2> Unpin for ComposedSetting<S1, S2>
impl<S1, S2> UnwindSafe for ComposedSetting<S1, S2>where
S1: UnwindSafe,
S2: UnwindSafe,
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