Struct pixels_graphics_lib::math::Point
source ·
[−]Fields
x: isize
y: isize
Implementations
Trait Implementations
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
Return self.x and self.y clamped between min and max (both inclusive)
min and max can be primitives (such as usize) or structs with x and y fields (such as Point)
If they are primitive then both self.x
and self.y
will be clamped using the same value otherwise
self.x
will only clamped by min.x
and max.x
and the same for y
Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.max(value) and self.y.max(value)
as opposed to max which returns the highest out of self or value
If value is primitive then both self.x
and self.y
will be max’d using the same value otherwise
self.x
will only max’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
Return self.x.min(value) and self.y.min(value)
as opposed to min which returns the lowest out of self or value
If value is primitive then both self.x
and self.y
will be min’d using the same value otherwise
self.x
will only min’d by min.x
and max.x
and the same for y
Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Point
impl UnwindSafe for Point
Blanket Implementations
Mutably borrows from an owned value. Read more