pub struct TextureWindowPlacement { /* private fields */ }Expand description
Placement returned by TextureWindowAtlas::allocate.
Implementations§
Source§impl TextureWindowPlacement
impl TextureWindowPlacement
Sourcepub const fn page_index(self) -> u16
pub const fn page_index(self) -> u16
Zero-based page index within the caller-owned atlas page band.
Trait Implementations§
Source§impl Clone for TextureWindowPlacement
impl Clone for TextureWindowPlacement
Source§fn clone(&self) -> TextureWindowPlacement
fn clone(&self) -> TextureWindowPlacement
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextureWindowPlacement
impl Debug for TextureWindowPlacement
Source§impl PartialEq for TextureWindowPlacement
impl PartialEq for TextureWindowPlacement
impl Copy for TextureWindowPlacement
impl Eq for TextureWindowPlacement
impl StructuralPartialEq for TextureWindowPlacement
Auto Trait Implementations§
impl Freeze for TextureWindowPlacement
impl RefUnwindSafe for TextureWindowPlacement
impl Send for TextureWindowPlacement
impl Sync for TextureWindowPlacement
impl Unpin for TextureWindowPlacement
impl UnsafeUnpin for TextureWindowPlacement
impl UnwindSafe for TextureWindowPlacement
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)