Struct termwiz::widgets::ParentRelativeCoords
source · [−]Expand description
Relative to the top left of the parent container
Fields
x: usize
y: usize
Implementations
Trait Implementations
sourceimpl Clone for ParentRelativeCoords
impl Clone for ParentRelativeCoords
sourcefn clone(&self) -> ParentRelativeCoords
fn clone(&self) -> ParentRelativeCoords
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ParentRelativeCoords
impl Debug for ParentRelativeCoords
sourceimpl Default for ParentRelativeCoords
impl Default for ParentRelativeCoords
sourcefn default() -> ParentRelativeCoords
fn default() -> ParentRelativeCoords
Returns the “default value” for a type. Read more
sourceimpl From<(usize, usize)> for ParentRelativeCoords
impl From<(usize, usize)> for ParentRelativeCoords
sourcefn from(coords: (usize, usize)) -> ParentRelativeCoords
fn from(coords: (usize, usize)) -> ParentRelativeCoords
Converts to this type from the input type.
sourceimpl PartialEq<ParentRelativeCoords> for ParentRelativeCoords
impl PartialEq<ParentRelativeCoords> for ParentRelativeCoords
sourcefn eq(&self, other: &ParentRelativeCoords) -> bool
fn eq(&self, other: &ParentRelativeCoords) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParentRelativeCoords) -> bool
fn ne(&self, other: &ParentRelativeCoords) -> bool
This method tests for !=
.
impl Copy for ParentRelativeCoords
impl Eq for ParentRelativeCoords
impl StructuralEq for ParentRelativeCoords
impl StructuralPartialEq for ParentRelativeCoords
Auto Trait Implementations
impl RefUnwindSafe for ParentRelativeCoords
impl Send for ParentRelativeCoords
impl Sync for ParentRelativeCoords
impl Unpin for ParentRelativeCoords
impl UnwindSafe for ParentRelativeCoords
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more