Struct egui::viewport::ViewportIdPair
source · pub struct ViewportIdPair {
pub this: ViewportId,
pub parent: ViewportId,
}
Expand description
A pair of ViewportId
, used to identify a viewport and its parent.
Fields§
§this: ViewportId
§parent: ViewportId
Implementations§
source§impl ViewportIdPair
impl ViewportIdPair
pub fn from_self_and_parent(this: ViewportId, parent: ViewportId) -> Self
Trait Implementations§
source§impl Clone for ViewportIdPair
impl Clone for ViewportIdPair
source§fn clone(&self) -> ViewportIdPair
fn clone(&self) -> ViewportIdPair
Returns a copy 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 ViewportIdPair
impl Debug for ViewportIdPair
source§impl Default for ViewportIdPair
impl Default for ViewportIdPair
source§impl Hash for ViewportIdPair
impl Hash for ViewportIdPair
source§impl PartialEq for ViewportIdPair
impl PartialEq for ViewportIdPair
source§fn eq(&self, other: &ViewportIdPair) -> bool
fn eq(&self, other: &ViewportIdPair) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ViewportIdPair
impl Eq for ViewportIdPair
impl StructuralEq for ViewportIdPair
impl StructuralPartialEq for ViewportIdPair
Auto Trait Implementations§
impl RefUnwindSafe for ViewportIdPair
impl Send for ViewportIdPair
impl Sync for ViewportIdPair
impl Unpin for ViewportIdPair
impl UnwindSafe for ViewportIdPair
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