pub struct SurfaceStyleRendering {
pub rendering_method: ShadingSurfaceMethod,
pub surface_colour: ColourRef,
}Fields§
§rendering_method: ShadingSurfaceMethod§surface_colour: ColourRefTrait Implementations§
Source§impl Clone for SurfaceStyleRendering
impl Clone for SurfaceStyleRendering
Source§fn clone(&self) -> SurfaceStyleRendering
fn clone(&self) -> SurfaceStyleRendering
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SurfaceStyleRendering
impl Debug for SurfaceStyleRendering
Source§impl PartialEq for SurfaceStyleRendering
impl PartialEq for SurfaceStyleRendering
Source§fn eq(&self, other: &SurfaceStyleRendering) -> bool
fn eq(&self, other: &SurfaceStyleRendering) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SurfaceStyleRendering
Auto Trait Implementations§
impl Freeze for SurfaceStyleRendering
impl RefUnwindSafe for SurfaceStyleRendering
impl Send for SurfaceStyleRendering
impl Sync for SurfaceStyleRendering
impl Unpin for SurfaceStyleRendering
impl UnsafeUnpin for SurfaceStyleRendering
impl UnwindSafe for SurfaceStyleRendering
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