pub struct RawNode {
pub call: RawCall,
pub widget_id: Option<WidgetId>,
pub bounds: Rect,
pub children: Vec<RawNode>,
}Expand description
One operation callback and everything reported inside its traverse.
Fields§
§call: RawCallWhat was reported. Its tag and fields sit beside the node’s own on the wire.
widget_id: Option<WidgetId>The widget id passed with the call.
bounds: RectThe bounds passed with the call, in logical window coordinates before scrolling.
children: Vec<RawNode>Calls made inside this call’s traverse.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawNode
impl<'de> Deserialize<'de> for RawNode
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
impl StructuralPartialEq for RawNode
Auto Trait Implementations§
impl Forget for RawNode
impl Freeze for RawNodewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const RawAnnotation is !null: Freeze,
PhantomData<RawAnnotation>: Freeze,
PhantomData<RawNode>: Freeze,
impl Move for RawNode
impl RefUnwindSafe for RawNodewhere
String: RefUnwindSafe,
impl Send for RawNode
impl Sync for RawNode
impl Unpin for RawNode
impl UnsafeUnpin for RawNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const RawAnnotation is !null: UnsafeUnpin,
PhantomData<RawAnnotation>: UnsafeUnpin,
PhantomData<RawNode>: UnsafeUnpin,
impl UnwindSafe for RawNode
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