pub struct LayoutData {
pub layout: Node,
}Fields§
§layout: NodeMethods from Deref<Target = Node>§
pub fn self_layout_eq(&self, other: &Node) -> bool
pub fn inner_layout_eq(&self, other: &Node) -> bool
Sourcepub fn does_depend_on_inner(&self) -> bool
pub fn does_depend_on_inner(&self) -> bool
Has properties that depend on the inner Nodes?
Sourcepub fn do_inner_depend_on_parent(&self) -> bool
pub fn do_inner_depend_on_parent(&self) -> bool
Has properties that make its children dependant on it?
Trait Implementations§
Source§impl Clone for LayoutData
impl Clone for LayoutData
Source§fn clone(&self) -> LayoutData
fn clone(&self) -> LayoutData
Returns a duplicate 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 LayoutData
impl Debug for LayoutData
Source§impl Default for LayoutData
impl Default for LayoutData
Source§fn default() -> LayoutData
fn default() -> LayoutData
Returns the “default value” for a type. Read more
Source§impl Deref for LayoutData
impl Deref for LayoutData
Source§impl DerefMut for LayoutData
impl DerefMut for LayoutData
Source§impl From<Node> for LayoutData
impl From<Node> for LayoutData
Source§fn from(layout: Node) -> LayoutData
fn from(layout: Node) -> LayoutData
Converts to this type from the input type.
Source§impl PartialEq for LayoutData
impl PartialEq for LayoutData
impl StructuralPartialEq for LayoutData
Auto Trait Implementations§
impl Freeze for LayoutData
impl !RefUnwindSafe for LayoutData
impl Send for LayoutData
impl Sync for LayoutData
impl Unpin for LayoutData
impl !UnwindSafe for LayoutData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ComponentProps for T
impl<T> ComponentProps for T
fn changed(&self, other: &(dyn ComponentProps + 'static)) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().