pub struct DevOverlayKey {
pub text: String,
pub viewport_width_bits: u32,
pub viewport_height_bits: u32,
}Expand description
Cache key for the last-built overlay; rebuilding only on change keeps the overlay free when the text is stable.
Fields§
§text: String§viewport_width_bits: u32§viewport_height_bits: u32Implementations§
Trait Implementations§
Source§impl Clone for DevOverlayKey
impl Clone for DevOverlayKey
Source§fn clone(&self) -> DevOverlayKey
fn clone(&self) -> DevOverlayKey
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 moreimpl Eq for DevOverlayKey
Source§impl PartialEq for DevOverlayKey
impl PartialEq for DevOverlayKey
impl StructuralPartialEq for DevOverlayKey
Auto Trait Implementations§
impl Freeze for DevOverlayKey
impl RefUnwindSafe for DevOverlayKey
impl Send for DevOverlayKey
impl Sync for DevOverlayKey
impl Unpin for DevOverlayKey
impl UnsafeUnpin for DevOverlayKey
impl UnwindSafe for DevOverlayKey
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