pub struct PositionCtx {
pub inner_size: Size,
pub pos: Pos,
pub viewport: Viewport,
}Fields§
§inner_size: Size§pos: Pos§viewport: ViewportImplementations§
Trait Implementations§
Source§impl Clone for PositionCtx
impl Clone for PositionCtx
Source§fn clone(&self) -> PositionCtx
fn clone(&self) -> PositionCtx
Returns a duplicate of the value. Read more
1.0.0 · 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 PositionCtx
impl Debug for PositionCtx
impl Copy for PositionCtx
Auto Trait Implementations§
impl Freeze for PositionCtx
impl RefUnwindSafe for PositionCtx
impl Send for PositionCtx
impl Sync for PositionCtx
impl Unpin for PositionCtx
impl UnwindSafe for PositionCtx
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