Struct freya_common::NodeReferenceLayout
source · pub struct NodeReferenceLayout {
pub area: Area,
pub inner: Size2D,
}
Expand description
Layout info of a certain Node, used by use_node
.
Fields§
§area: Area
§inner: Size2D
Implementations§
Trait Implementations§
source§impl Clone for NodeReferenceLayout
impl Clone for NodeReferenceLayout
source§fn clone(&self) -> NodeReferenceLayout
fn clone(&self) -> NodeReferenceLayout
Returns a copy 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 NodeReferenceLayout
impl Debug for NodeReferenceLayout
source§impl Default for NodeReferenceLayout
impl Default for NodeReferenceLayout
source§fn default() -> NodeReferenceLayout
fn default() -> NodeReferenceLayout
Returns the “default value” for a type. Read more
source§impl PartialEq<NodeReferenceLayout> for NodeReferenceLayout
impl PartialEq<NodeReferenceLayout> for NodeReferenceLayout
source§fn eq(&self, other: &NodeReferenceLayout) -> bool
fn eq(&self, other: &NodeReferenceLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NodeReferenceLayout
Auto Trait Implementations§
impl RefUnwindSafe for NodeReferenceLayout
impl Send for NodeReferenceLayout
impl Sync for NodeReferenceLayout
impl Unpin for NodeReferenceLayout
impl UnwindSafe for NodeReferenceLayout
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.