Struct gpui2::WrapBoundary
source · pub struct WrapBoundary {
pub run_ix: usize,
pub glyph_ix: usize,
}
Fields§
§run_ix: usize
§glyph_ix: usize
Trait Implementations§
source§impl Clone for WrapBoundary
impl Clone for WrapBoundary
source§fn clone(&self) -> WrapBoundary
fn clone(&self) -> WrapBoundary
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 WrapBoundary
impl Debug for WrapBoundary
source§impl Ord for WrapBoundary
impl Ord for WrapBoundary
source§fn cmp(&self, other: &WrapBoundary) -> Ordering
fn cmp(&self, other: &WrapBoundary) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<WrapBoundary> for WrapBoundary
impl PartialEq<WrapBoundary> for WrapBoundary
source§fn eq(&self, other: &WrapBoundary) -> bool
fn eq(&self, other: &WrapBoundary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<WrapBoundary> for WrapBoundary
impl PartialOrd<WrapBoundary> for WrapBoundary
source§fn partial_cmp(&self, other: &WrapBoundary) -> Option<Ordering>
fn partial_cmp(&self, other: &WrapBoundary) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for WrapBoundary
impl Eq for WrapBoundary
impl StructuralEq for WrapBoundary
impl StructuralPartialEq for WrapBoundary
Auto Trait Implementations§
impl RefUnwindSafe for WrapBoundary
impl Send for WrapBoundary
impl Sync for WrapBoundary
impl Unpin for WrapBoundary
impl UnwindSafe for WrapBoundary
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.