pub struct TextSize { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<A> AddAssign<A> for TextSize
impl<A> AddAssign<A> for TextSize
Source§fn add_assign(&mut self, rhs: A)
fn add_assign(&mut self, rhs: A)
Performs the
+= operation. Read moreimpl Copy for TextSize
impl Eq for TextSize
Source§impl Ord for TextSize
impl Ord for TextSize
1.21.0 (const: unstable) · 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 PartialOrd for TextSize
impl PartialOrd for TextSize
Source§impl RangeBounds<TextSize> for TextRange
impl RangeBounds<TextSize> for TextRange
impl StructuralPartialEq for TextSize
Source§impl<S> SubAssign<S> for TextSize
impl<S> SubAssign<S> for TextSize
Source§fn sub_assign(&mut self, rhs: S)
fn sub_assign(&mut self, rhs: S)
Performs the
-= operation. Read moreAuto Trait Implementations§
impl Freeze for TextSize
impl RefUnwindSafe for TextSize
impl Send for TextSize
impl Sync for TextSize
impl Unpin for TextSize
impl UnsafeUnpin for TextSize
impl UnwindSafe for TextSize
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