pub struct RenderTextureOptions {
pub resolution: UVec2,
pub samples: SampleCount,
}Fields§
§resolution: UVec2§samples: SampleCountTrait Implementations§
Source§impl Clone for RenderTextureOptions
impl Clone for RenderTextureOptions
Source§fn clone(&self) -> RenderTextureOptions
fn clone(&self) -> RenderTextureOptions
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 RenderTextureOptions
impl Debug for RenderTextureOptions
Source§impl PartialEq for RenderTextureOptions
impl PartialEq for RenderTextureOptions
Source§fn eq(&self, other: &RenderTextureOptions) -> bool
fn eq(&self, other: &RenderTextureOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RenderTextureOptions
impl Eq for RenderTextureOptions
impl StructuralPartialEq for RenderTextureOptions
Auto Trait Implementations§
impl Freeze for RenderTextureOptions
impl RefUnwindSafe for RenderTextureOptions
impl Send for RenderTextureOptions
impl Sync for RenderTextureOptions
impl Unpin for RenderTextureOptions
impl UnsafeUnpin for RenderTextureOptions
impl UnwindSafe for RenderTextureOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.