pub struct ComponentRect {
pub minx: f32,
pub miny: f32,
pub maxx: f32,
pub maxy: f32,
pub name: String,
}Fields§
§minx: f32§miny: f32§maxx: f32§maxy: f32§name: StringImplementations§
Source§impl ComponentRect
impl ComponentRect
Trait Implementations§
Source§impl Clone for ComponentRect
impl Clone for ComponentRect
Source§fn clone(&self) -> ComponentRect
fn clone(&self) -> ComponentRect
Returns a duplicate 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 ComponentRect
impl Debug for ComponentRect
Source§impl Default for ComponentRect
impl Default for ComponentRect
Source§fn default() -> ComponentRect
fn default() -> ComponentRect
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComponentRect
impl<'de> Deserialize<'de> for ComponentRect
Source§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
Source§impl PartialEq for ComponentRect
impl PartialEq for ComponentRect
Source§impl Serialize for ComponentRect
impl Serialize for ComponentRect
impl StructuralPartialEq for ComponentRect
Auto Trait Implementations§
impl Freeze for ComponentRect
impl RefUnwindSafe for ComponentRect
impl Send for ComponentRect
impl Sync for ComponentRect
impl Unpin for ComponentRect
impl UnwindSafe for ComponentRect
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more