pub enum NativeMessage {
Show 49 variants
TextCreate(AnyCreatePatch),
TextUpdate(TextPatch),
TextDelete(u32),
FrameCreate(AnyCreatePatch),
FrameUpdate(FramePatch),
FrameDelete(u32),
EventBlockerCreate(AnyCreatePatch),
EventBlockerUpdate(EventBlockerPatch),
EventBlockerDelete(u32),
CheckboxCreate(AnyCreatePatch),
CheckboxUpdate(CheckboxPatch),
CheckboxDelete(u32),
NativeImageCreate(AnyCreatePatch),
NativeImageUpdate(NativeImagePatch),
NativeImageDelete(u32),
YoutubeVideoCreate(AnyCreatePatch),
YoutubeVideoUpdate(YoutubeVideoPatch),
YoutubeVideoDelete(u32),
TextboxCreate(AnyCreatePatch),
TextboxUpdate(TextboxPatch),
TextboxDelete(u32),
SliderCreate(AnyCreatePatch),
SliderUpdate(SliderPatch),
SliderDelete(u32),
DropdownCreate(AnyCreatePatch),
DropdownUpdate(DropdownPatch),
DropdownDelete(u32),
RadioListCreate(AnyCreatePatch),
RadioListUpdate(RadioListPatch),
RadioListDelete(u32),
ButtonCreate(AnyCreatePatch),
ButtonUpdate(ButtonPatch),
ButtonDelete(u32),
PhotoPickerCreate(AnyCreatePatch),
PhotoPickerUpdate(PhotoPickerPatch),
PhotoPickerDelete(u32),
GlassSurfaceCreate(AnyCreatePatch),
GlassSurfaceUpdate(GlassSurfacePatch),
GlassSurfaceDelete(u32),
ScrollerCreate(AnyCreatePatch),
ScrollerUpdate(ScrollerPatch),
ScrollerDelete(u32),
ImageLoad(ImagePatch),
ShrinkLayersTo(u32),
NativeMaskUpdate(NativeMaskPatch),
NativeCullUpdate(NativeCullPatch),
Navigate(NavigationPatch),
SetCursor(SetCursorPatch),
Screenshot(ScreenshotPatch),
}Expand description
Messages emitted by the runtime to create, update, delete, or configure native/chassis resources.
Variants§
TextCreate(AnyCreatePatch)
TextUpdate(TextPatch)
TextDelete(u32)
FrameCreate(AnyCreatePatch)
FrameUpdate(FramePatch)
FrameDelete(u32)
EventBlockerCreate(AnyCreatePatch)
EventBlockerUpdate(EventBlockerPatch)
EventBlockerDelete(u32)
CheckboxCreate(AnyCreatePatch)
CheckboxUpdate(CheckboxPatch)
CheckboxDelete(u32)
NativeImageCreate(AnyCreatePatch)
NativeImageUpdate(NativeImagePatch)
NativeImageDelete(u32)
YoutubeVideoCreate(AnyCreatePatch)
YoutubeVideoUpdate(YoutubeVideoPatch)
YoutubeVideoDelete(u32)
TextboxCreate(AnyCreatePatch)
TextboxUpdate(TextboxPatch)
TextboxDelete(u32)
SliderCreate(AnyCreatePatch)
SliderUpdate(SliderPatch)
SliderDelete(u32)
DropdownCreate(AnyCreatePatch)
DropdownUpdate(DropdownPatch)
DropdownDelete(u32)
RadioListCreate(AnyCreatePatch)
RadioListUpdate(RadioListPatch)
RadioListDelete(u32)
ButtonCreate(AnyCreatePatch)
ButtonUpdate(ButtonPatch)
ButtonDelete(u32)
PhotoPickerCreate(AnyCreatePatch)
PhotoPickerUpdate(PhotoPickerPatch)
PhotoPickerDelete(u32)
GlassSurfaceCreate(AnyCreatePatch)
GlassSurfaceUpdate(GlassSurfacePatch)
GlassSurfaceDelete(u32)
ScrollerCreate(AnyCreatePatch)
ScrollerUpdate(ScrollerPatch)
ScrollerDelete(u32)
ImageLoad(ImagePatch)
ShrinkLayersTo(u32)
NativeMaskUpdate(NativeMaskPatch)
NativeCullUpdate(NativeCullPatch)
SetCursor(SetCursorPatch)
Screenshot(ScreenshotPatch)
Trait Implementations§
Source§impl Debug for NativeMessage
impl Debug for NativeMessage
Source§impl Serialize for NativeMessage
impl Serialize for NativeMessage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for NativeMessage
impl RefUnwindSafe for NativeMessage
impl Send for NativeMessage
impl Sync for NativeMessage
impl Unpin for NativeMessage
impl UnsafeUnpin for NativeMessage
impl UnwindSafe for NativeMessage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.