pub struct InternalGrids {
pub post: (u32, u32),
pub trail: (u32, u32),
}Expand description
The internal grids a renderer resolves for its target, in texels, width then
height (Renderer::internal_grids, ADR-0245).
Fields§
§post: (u32, u32)The post chain’s grid — every active stage runs at this size.
trail: (u32, u32)The attractor’s trail field, when it draws straight into the target.
Trait Implementations§
Source§impl Clone for InternalGrids
impl Clone for InternalGrids
Source§fn clone(&self) -> InternalGrids
fn clone(&self) -> InternalGrids
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 InternalGrids
impl Debug for InternalGrids
Source§impl PartialEq for InternalGrids
impl PartialEq for InternalGrids
Source§fn eq(&self, other: &InternalGrids) -> bool
fn eq(&self, other: &InternalGrids) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InternalGrids
impl Eq for InternalGrids
impl StructuralPartialEq for InternalGrids
Auto Trait Implementations§
impl Freeze for InternalGrids
impl RefUnwindSafe for InternalGrids
impl Send for InternalGrids
impl Sync for InternalGrids
impl Unpin for InternalGrids
impl UnsafeUnpin for InternalGrids
impl UnwindSafe for InternalGrids
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.