pub struct SimpleNodeGeometry {
pub id: i32,
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
}Expand description
Simple implementation of NodeGeometry
Fields§
§id: i32§x: f32§y: f32§width: f32§height: f32Trait Implementations§
Source§impl Clone for SimpleNodeGeometry
impl Clone for SimpleNodeGeometry
Source§fn clone(&self) -> SimpleNodeGeometry
fn clone(&self) -> SimpleNodeGeometry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SimpleNodeGeometry
Source§impl Debug for SimpleNodeGeometry
impl Debug for SimpleNodeGeometry
Auto Trait Implementations§
impl Freeze for SimpleNodeGeometry
impl RefUnwindSafe for SimpleNodeGeometry
impl Send for SimpleNodeGeometry
impl Sync for SimpleNodeGeometry
impl Unpin for SimpleNodeGeometry
impl UnsafeUnpin for SimpleNodeGeometry
impl UnwindSafe for SimpleNodeGeometry
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