pub struct PrimitiveState {
pub topology: PrimitiveTopology,
pub cull_mode: Option<CullMode>,
pub front_face: FrontFace,
}Fields§
§topology: PrimitiveTopology§cull_mode: Option<CullMode>§front_face: FrontFaceTrait Implementations§
Source§impl Clone for PrimitiveState
impl Clone for PrimitiveState
Source§fn clone(&self) -> PrimitiveState
fn clone(&self) -> PrimitiveState
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 Debug for PrimitiveState
impl Debug for PrimitiveState
Source§impl<'de> Deserialize<'de> for PrimitiveState
impl<'de> Deserialize<'de> for PrimitiveState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PrimitiveState
impl RefUnwindSafe for PrimitiveState
impl Send for PrimitiveState
impl Sync for PrimitiveState
impl Unpin for PrimitiveState
impl UnsafeUnpin for PrimitiveState
impl UnwindSafe for PrimitiveState
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