Struct freya::common::NodeReferenceLayout
pub struct NodeReferenceLayout {
pub area: Rect<f32, Measure>,
pub inner: Size2D<f32, Measure>,
}
Expand description
Layout info of a certain Node, used by use_node
.
Fields§
§area: Rect<f32, Measure>
§inner: Size2D<f32, Measure>
Implementations§
§impl NodeReferenceLayout
impl NodeReferenceLayout
Trait Implementations§
§impl Clone for NodeReferenceLayout
impl Clone for NodeReferenceLayout
§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 more§impl Debug for NodeReferenceLayout
impl Debug for NodeReferenceLayout
§impl Default for NodeReferenceLayout
impl Default for NodeReferenceLayout
§fn default() -> NodeReferenceLayout
fn default() -> NodeReferenceLayout
Returns the “default value” for a type. Read more
§impl PartialEq<NodeReferenceLayout> for NodeReferenceLayout
impl PartialEq<NodeReferenceLayout> for NodeReferenceLayout
§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.