pub struct ResolvedNodeChrome {
pub key: String,
pub kind: NodeChromeKind,
pub placement: NodeChromePlacement,
pub rect: CanvasRect,
pub visibility: NodeChromeVisibility,
pub label: Option<String>,
pub renderer_key: Option<String>,
pub icon_key: Option<String>,
pub order: Option<i32>,
pub interactive: bool,
pub resize_constraints: Option<NodeResizeConstraints>,
}Expand description
One visible semantic chrome affordance resolved in canvas space against node bounds.
Fields§
§key: String§kind: NodeChromeKind§placement: NodeChromePlacement§rect: CanvasRect§visibility: NodeChromeVisibility§label: Option<String>§renderer_key: Option<String>§icon_key: Option<String>§order: Option<i32>§interactive: bool§resize_constraints: Option<NodeResizeConstraints>Implementations§
Source§impl ResolvedNodeChrome
impl ResolvedNodeChrome
pub fn contains_point(&self, point: CanvasPoint) -> bool
Trait Implementations§
Source§impl Clone for ResolvedNodeChrome
impl Clone for ResolvedNodeChrome
Source§fn clone(&self) -> ResolvedNodeChrome
fn clone(&self) -> ResolvedNodeChrome
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 moreSource§impl Debug for ResolvedNodeChrome
impl Debug for ResolvedNodeChrome
Source§impl<'de> Deserialize<'de> for ResolvedNodeChrome
impl<'de> Deserialize<'de> for ResolvedNodeChrome
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 ResolvedNodeChrome
impl PartialEq for ResolvedNodeChrome
Source§fn eq(&self, other: &ResolvedNodeChrome) -> bool
fn eq(&self, other: &ResolvedNodeChrome) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResolvedNodeChrome
impl Serialize for ResolvedNodeChrome
impl StructuralPartialEq for ResolvedNodeChrome
Auto Trait Implementations§
impl Freeze for ResolvedNodeChrome
impl RefUnwindSafe for ResolvedNodeChrome
impl Send for ResolvedNodeChrome
impl Sync for ResolvedNodeChrome
impl Unpin for ResolvedNodeChrome
impl UnsafeUnpin for ResolvedNodeChrome
impl UnwindSafe for ResolvedNodeChrome
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