pub struct ConnectionHandleCandidate {
pub handle: ConnectionHandleRef,
pub node_rect: CanvasRect,
pub bounds: HandleBounds,
}Expand description
Renderer-normalized handle geometry in canvas coordinates.
Fields§
§handle: ConnectionHandleRef§node_rect: CanvasRect§bounds: HandleBoundsImplementations§
Source§impl ConnectionHandleCandidate
impl ConnectionHandleCandidate
pub fn new( handle: ConnectionHandleRef, node_rect: CanvasRect, bounds: HandleBounds, ) -> Self
Trait Implementations§
Source§impl Clone for ConnectionHandleCandidate
impl Clone for ConnectionHandleCandidate
Source§fn clone(&self) -> ConnectionHandleCandidate
fn clone(&self) -> ConnectionHandleCandidate
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 ConnectionHandleCandidate
Source§impl Debug for ConnectionHandleCandidate
impl Debug for ConnectionHandleCandidate
Source§impl<'de> Deserialize<'de> for ConnectionHandleCandidate
impl<'de> Deserialize<'de> for ConnectionHandleCandidate
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 ConnectionHandleCandidate
impl PartialEq for ConnectionHandleCandidate
Source§fn eq(&self, other: &ConnectionHandleCandidate) -> bool
fn eq(&self, other: &ConnectionHandleCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectionHandleCandidate
Auto Trait Implementations§
impl Freeze for ConnectionHandleCandidate
impl RefUnwindSafe for ConnectionHandleCandidate
impl Send for ConnectionHandleCandidate
impl Sync for ConnectionHandleCandidate
impl Unpin for ConnectionHandleCandidate
impl UnsafeUnpin for ConnectionHandleCandidate
impl UnwindSafe for ConnectionHandleCandidate
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