pub struct RetainedSource {
pub bracket: u32,
pub origin: (u16, u16),
}Expand description
Where a retained composite’s page comes from.
Fields§
§bracket: u32The retained bracket the page belongs to, indexed into the frame’s
CompiledFrame::retained —
the renderer resolves it to the store’s texture.
origin: (u16, u16)The page texel under the composite’s top-left corner.
Trait Implementations§
Source§impl Clone for RetainedSource
impl Clone for RetainedSource
impl Copy for RetainedSource
Source§impl Debug for RetainedSource
impl Debug for RetainedSource
impl Eq for RetainedSource
Source§impl PartialEq for RetainedSource
impl PartialEq for RetainedSource
impl StructuralPartialEq for RetainedSource
Auto Trait Implementations§
impl Freeze for RetainedSource
impl RefUnwindSafe for RetainedSource
impl Send for RetainedSource
impl Sync for RetainedSource
impl Unpin for RetainedSource
impl UnsafeUnpin for RetainedSource
impl UnwindSafe for RetainedSource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.