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
impl Copy for ViewportIdPair
impl Eq for ViewportIdPair
impl StructuralPartialEq for ViewportIdPair
Auto Trait Implementations§
impl Freeze for ViewportIdPair
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)