#[repr(C)]pub struct VirtualViewNode {
pub callback: VirtualViewCallback,
pub refany: RefAny,
}Expand description
Contains the necessary information to render an embedded VirtualView node.
Fields§
§callback: VirtualViewCallbackThe callback function that returns the DOM for the virtualized view’s content.
refany: RefAnyThe application data passed to the virtualized view’s layout callback.
Trait Implementations§
Source§impl Clone for VirtualViewNode
impl Clone for VirtualViewNode
Source§fn clone(&self) -> VirtualViewNode
fn clone(&self) -> VirtualViewNode
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 VirtualViewNode
impl Debug for VirtualViewNode
Source§impl Hash for VirtualViewNode
impl Hash for VirtualViewNode
Source§impl Ord for VirtualViewNode
impl Ord for VirtualViewNode
Source§fn cmp(&self, other: &VirtualViewNode) -> Ordering
fn cmp(&self, other: &VirtualViewNode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VirtualViewNode
impl PartialEq for VirtualViewNode
Source§fn eq(&self, other: &VirtualViewNode) -> bool
fn eq(&self, other: &VirtualViewNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VirtualViewNode
impl PartialOrd for VirtualViewNode
impl Eq for VirtualViewNode
impl StructuralPartialEq for VirtualViewNode
Auto Trait Implementations§
impl Freeze for VirtualViewNode
impl RefUnwindSafe for VirtualViewNode
impl Send for VirtualViewNode
impl Sync for VirtualViewNode
impl Unpin for VirtualViewNode
impl UnsafeUnpin for VirtualViewNode
impl UnwindSafe for VirtualViewNode
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