pub enum RawCall {
Container,
Scrollable {
content_bounds: Rect,
translation: Vector,
ordinal: u32,
},
Focusable {
focused: bool,
ordinal: u32,
},
TextInput {
text: String,
},
Text {
content: String,
},
Annotation(Box<RawAnnotation>),
Group,
Overlay {
depth: u16,
},
}Expand description
The operation callback a raw node records.
Variants§
Container
Operation::container.
Scrollable
Operation::scrollable.
Fields
Focusable
Operation::focusable.
Fields
TextInput
Operation::text_input, with the text it shows: the value, or the placeholder when
the value is empty.
Text
Operation::text.
Annotation(Box<RawAnnotation>)
An annotation from icedwright-probe, reported through Operation::custom.
Group
A traverse with nothing reported first at its level.
Overlay
The start of an overlay pass. Its children are that overlay layer’s content.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawCall
impl<'de> Deserialize<'de> for RawCall
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 RawCall
Auto Trait Implementations§
impl Forget for RawCall
impl Freeze for RawCallwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const RawAnnotation is !null: Freeze,
PhantomData<RawAnnotation>: Freeze,
impl Move for RawCall
impl RefUnwindSafe for RawCallwhere
String: RefUnwindSafe,
impl Send for RawCall
impl Sync for RawCall
impl Unpin for RawCall
impl UnsafeUnpin for RawCallwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const RawAnnotation is !null: UnsafeUnpin,
PhantomData<RawAnnotation>: UnsafeUnpin,
impl UnwindSafe for RawCall
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