Struct gpui2::GlobalPixels
source · #[repr(transparent)]pub struct GlobalPixels(_);
Trait Implementations§
source§impl Add<GlobalPixels> for GlobalPixels
impl Add<GlobalPixels> for GlobalPixels
§type Output = GlobalPixels
type Output = GlobalPixels
The resulting type after applying the
+
operator.source§fn add(self, rhs: GlobalPixels) -> GlobalPixels
fn add(self, rhs: GlobalPixels) -> GlobalPixels
Performs the
+
operation. Read moresource§impl AddAssign<GlobalPixels> for GlobalPixels
impl AddAssign<GlobalPixels> for GlobalPixels
source§fn add_assign(&mut self, rhs: GlobalPixels)
fn add_assign(&mut self, rhs: GlobalPixels)
Performs the
+=
operation. Read moresource§impl Bind for GlobalPixels
impl Bind for GlobalPixels
source§impl Clone for GlobalPixels
impl Clone for GlobalPixels
source§fn clone(&self) -> GlobalPixels
fn clone(&self) -> GlobalPixels
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 GlobalPixels
impl Debug for GlobalPixels
source§impl Default for GlobalPixels
impl Default for GlobalPixels
source§fn default() -> GlobalPixels
fn default() -> GlobalPixels
Returns the “default value” for a type. Read more
source§impl<__RhsT> Div<__RhsT> for GlobalPixelswhere
f32: Div<__RhsT, Output = f32>,
impl<__RhsT> Div<__RhsT> for GlobalPixelswhere f32: Div<__RhsT, Output = f32>,
§type Output = GlobalPixels
type Output = GlobalPixels
The resulting type after applying the
/
operator.source§fn div(self, rhs: __RhsT) -> GlobalPixels
fn div(self, rhs: __RhsT) -> GlobalPixels
Performs the
/
operation. Read moresource§impl From<GlobalPixels> for f64
impl From<GlobalPixels> for f64
source§fn from(global_pixels: GlobalPixels) -> Self
fn from(global_pixels: GlobalPixels) -> Self
Converts to this type from the input type.
source§impl From<f64> for GlobalPixels
impl From<f64> for GlobalPixels
source§impl PartialEq<GlobalPixels> for GlobalPixels
impl PartialEq<GlobalPixels> for GlobalPixels
source§fn eq(&self, other: &GlobalPixels) -> bool
fn eq(&self, other: &GlobalPixels) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GlobalPixels> for GlobalPixels
impl PartialOrd<GlobalPixels> for GlobalPixels
source§fn partial_cmp(&self, other: &GlobalPixels) -> Option<Ordering>
fn partial_cmp(&self, other: &GlobalPixels) -> 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 moresource§impl StaticColumnCount for GlobalPixels
impl StaticColumnCount for GlobalPixels
fn column_count() -> usize
source§impl Sub<GlobalPixels> for GlobalPixels
impl Sub<GlobalPixels> for GlobalPixels
§type Output = GlobalPixels
type Output = GlobalPixels
The resulting type after applying the
-
operator.source§fn sub(self, rhs: GlobalPixels) -> GlobalPixels
fn sub(self, rhs: GlobalPixels) -> GlobalPixels
Performs the
-
operation. Read moresource§impl SubAssign<GlobalPixels> for GlobalPixels
impl SubAssign<GlobalPixels> for GlobalPixels
source§fn sub_assign(&mut self, rhs: GlobalPixels)
fn sub_assign(&mut self, rhs: GlobalPixels)
Performs the
-=
operation. Read moreimpl Copy for GlobalPixels
impl StructuralPartialEq for GlobalPixels
Auto Trait Implementations§
impl RefUnwindSafe for GlobalPixels
impl Send for GlobalPixels
impl Sync for GlobalPixels
impl Unpin for GlobalPixels
impl UnwindSafe for GlobalPixels
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.