#[repr(transparent)]pub struct Host_TO<_ErasedPtr>where
_ErasedPtr: __GetPointerKind,{
pub obj: Host_Backend<_ErasedPtr>,
/* private fields */
}Expand description
The trait object for Host.
There are extra methods on the obj field.
Fields§
§obj: Host_Backend<_ErasedPtr>Implementations§
Source§impl<_ErasedPtr> Host_TO<_ErasedPtr>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
impl<_ErasedPtr> Host_TO<_ErasedPtr>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
Sourcepub fn from_ptr<_OrigPtr, Downcasting>(
ptr: _OrigPtr,
can_it_downcast: Downcasting,
) -> Selfwhere
_OrigPtr: CanTransmuteElement<(), TransmutedPtr = _ErasedPtr>,
_OrigPtr::PtrTarget: Host + Sized,
Host_Interface: GetRObjectVTable<Downcasting, _OrigPtr::PtrTarget, _ErasedPtr, _OrigPtr>,
pub fn from_ptr<_OrigPtr, Downcasting>(
ptr: _OrigPtr,
can_it_downcast: Downcasting,
) -> Selfwhere
_OrigPtr: CanTransmuteElement<(), TransmutedPtr = _ErasedPtr>,
_OrigPtr::PtrTarget: Host + Sized,
Host_Interface: GetRObjectVTable<Downcasting, _OrigPtr::PtrTarget, _ErasedPtr, _OrigPtr>,
Constructs this trait object from a pointer to a type that implements Host.
This method is automatically generated,
for more documentation you can look at
[abi_stable::docs::sabi_trait_inherent#from_ptr-method]
can_it_downcast describes whether the trait object can be converted back into the original type or not.
Its possible values are TD_CanDowncast and TD_Opaque.
Sourcepub fn from_sabi(obj: Host_Backend<_ErasedPtr>) -> Self
pub fn from_sabi(obj: Host_Backend<_ErasedPtr>) -> Self
Constructs this trait object from its underlying implementation.
This method is automatically generated,
for more documentation you can look at
[abi_stable::docs::sabi_trait_inherent#from_sabi-method]
Sourcepub fn sabi_reborrow<'_sub>(&'_sub self) -> Host_TO<RRef<'_sub, ()>>
pub fn sabi_reborrow<'_sub>(&'_sub self) -> Host_TO<RRef<'_sub, ()>>
Reborrows this trait object to a reference-based trait object.
This method is automatically generated,
for more documentation you can look at
[abi_stable::docs::sabi_trait_inherent#sabi_reborrow-method]
Sourcepub fn sabi_reborrow_mut<'_sub>(&'_sub mut self) -> Host_TO<RMut<'_sub, ()>>where
_ErasedPtr: AsMutPtr<PtrTarget = ()>,
pub fn sabi_reborrow_mut<'_sub>(&'_sub mut self) -> Host_TO<RMut<'_sub, ()>>where
_ErasedPtr: AsMutPtr<PtrTarget = ()>,
Reborrows this trait object to a mutable-reference-based trait object.
This method is automatically generated,
for more documentation you can look at
[abi_stable::docs::sabi_trait_inherent#sabi_reborrow_mut-method]
Source§impl Host_TO<RBox<()>>
impl Host_TO<RBox<()>>
Sourcepub fn from_value<_Self, Downcasting>(
ptr: _Self,
can_it_downcast: Downcasting,
) -> Self
pub fn from_value<_Self, Downcasting>( ptr: _Self, can_it_downcast: Downcasting, ) -> Self
Constructs this trait from a type that implements Host.
This method is automatically generated,
for more documentation you can look at
[abi_stable::docs::sabi_trait_inherent#from_value-method]
can_it_downcast describes whether the trait object can be converted back into the original type or not.
Its possible values are TD_CanDowncast and TD_Opaque.
Source§impl<'_sub> Host_TO<RRef<'_sub, ()>>
impl<'_sub> Host_TO<RRef<'_sub, ()>>
Sourcepub const fn from_const<_Self, Downcasting>(
ptr: &'_sub _Self,
can_it_downcast: Downcasting,
) -> Selfwhere
_Self: Host + 'static,
Host_Interface: GetRObjectVTable<Downcasting, _Self, RRef<'_sub, ()>, &'_sub _Self>,
pub const fn from_const<_Self, Downcasting>(
ptr: &'_sub _Self,
can_it_downcast: Downcasting,
) -> Selfwhere
_Self: Host + 'static,
Host_Interface: GetRObjectVTable<Downcasting, _Self, RRef<'_sub, ()>, &'_sub _Self>,
Constructs this trait from a constant of a type that implements Host.
This method is automatically generated,
for more documentation you can look at
[abi_stable::docs::sabi_trait_inherent#from_const-method]
You can construct the vtable_for parameter with [Host_MV::VTABLE].
can_it_downcast describes whether the trait object can be converted back into the original type or not.
Its possible values are TD_CanDowncast and TD_Opaque.
Source§impl<_ErasedPtr> Host_TO<_ErasedPtr>
impl<_ErasedPtr> Host_TO<_ErasedPtr>
Sourcepub fn log(&self, param_0: i32, param_1: RString)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn log(&self, param_0: i32, param_1: RString)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn plugin_error(&self, param_0: u32, param_1: RString)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn plugin_error(&self, param_0: u32, param_1: RString)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn option_str(&self, param_0: RStr<'_>) -> ROption<RString>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn option_str(&self, param_0: RStr<'_>) -> ROption<RString>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn option_f64(&self, param_0: RStr<'_>) -> ROption<f64>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn option_f64(&self, param_0: RStr<'_>) -> ROption<f64>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn option_i64(&self, param_0: RStr<'_>) -> ROption<i64>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn option_i64(&self, param_0: RStr<'_>) -> ROption<i64>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn option_bool(&self, param_0: RStr<'_>) -> ROption<bool>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn option_bool(&self, param_0: RStr<'_>) -> ROption<bool>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn config_str(&self, param_0: RStr<'_>) -> ROption<RString>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn config_str(&self, param_0: RStr<'_>) -> ROption<RString>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn config_f64(&self, param_0: RStr<'_>) -> ROption<f64>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn config_f64(&self, param_0: RStr<'_>) -> ROption<f64>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn config_i64(&self, param_0: RStr<'_>) -> ROption<i64>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn config_i64(&self, param_0: RStr<'_>) -> ROption<i64>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn config_bool(&self, param_0: RStr<'_>) -> ROption<bool>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn config_bool(&self, param_0: RStr<'_>) -> ROption<bool>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn set_interval(&self, param_0: u32, param_1: bool, param_2: u32) -> i32where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn set_interval(&self, param_0: u32, param_1: bool, param_2: u32) -> i32where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_fd(&self, param_0: i32, param_1: u32) -> i32where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_fd(&self, param_0: i32, param_1: u32) -> i32where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn request_redraw(&self, param_0: u64)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn request_redraw(&self, param_0: u64)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn compositor_state(&self) -> ROption<CompositorState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn compositor_state(&self) -> ROption<CompositorState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn set_compositor_state(&self, param_0: CompositorState)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn set_compositor_state(&self, param_0: CompositorState)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn compositor_register_fd(&self, param_0: i32, param_1: u32) -> i32where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn compositor_register_fd(&self, param_0: i32, param_1: u32) -> i32where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn audio_state(&self) -> ROption<AudioState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn audio_state(&self) -> ROption<AudioState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn bluetooth_state(&self) -> ROption<BluetoothState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn bluetooth_state(&self) -> ROption<BluetoothState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn network_state(&self) -> ROption<NetworkState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn network_state(&self) -> ROption<NetworkState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn system_state(&self) -> ROption<SystemState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn system_state(&self) -> ROption<SystemState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn tray_state(&self) -> ROption<TrayState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn tray_state(&self) -> ROption<TrayState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn power_state(&self) -> ROption<PowerState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn power_state(&self) -> ROption<PowerState>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn style_number(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> ROption<f32>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn style_number(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> ROption<f32>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn style_bool(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> ROption<bool>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn style_bool(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> ROption<bool>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn style_color(
&self,
param_0: RStr<'_>,
param_1: RStr<'_>,
) -> ROption<Color>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn style_color(
&self,
param_0: RStr<'_>,
param_1: RStr<'_>,
) -> ROption<Color>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn theme(&self) -> Themewhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn theme(&self) -> Themewhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_style(&self, param_0: RStr<'_>) -> i32where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_style(&self, param_0: RStr<'_>) -> i32where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn dispatch(&self, param_0: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn dispatch(&self, param_0: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn persistence_get(&self, param_0: RStr<'_>) -> ROption<RString>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn persistence_get(&self, param_0: RStr<'_>) -> ROption<RString>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn persistence_set(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn persistence_set(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn persistence_remove(&self, param_0: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn persistence_remove(&self, param_0: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn notify(&self, param_0: Notification) -> ROption<u32>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn notify(&self, param_0: Notification) -> ROption<u32>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn store_insert(&self, param_0: TypeKey, param_1: ErasedValue) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn store_insert(&self, param_0: TypeKey, param_1: ErasedValue) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn store_get<'a>(
&self,
param_0: &Context<'a>,
param_1: TypeKey,
) -> ROption<ErasedRef<'a>>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn store_get<'a>(
&self,
param_0: &Context<'a>,
param_1: TypeKey,
) -> ROption<ErasedRef<'a>>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn store_remove(&self, param_0: TypeKey) -> ROption<ErasedValue>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn store_remove(&self, param_0: TypeKey) -> ROption<ErasedValue>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn store_contains(&self, param_0: TypeKey) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn store_contains(&self, param_0: TypeKey) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn store_subscribe(&self, param_0: TypeKey, param_1: StoreCallbackBox)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn store_subscribe(&self, param_0: TypeKey, param_1: StoreCallbackBox)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_component(&self, param_0: RString, param_1: ComponentFactoryBox)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_component(&self, param_0: RString, param_1: ComponentFactoryBox)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_renderable(
&self,
param_0: RString,
param_1: RenderableFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_renderable(
&self,
param_0: RString,
param_1: RenderableFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_payload(&self, param_0: RString, param_1: PayloadFactoryBox)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_payload(&self, param_0: RString, param_1: PayloadFactoryBox)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_desktop_item(
&self,
param_0: RString,
param_1: DesktopItemFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_desktop_item(
&self,
param_0: RString,
param_1: DesktopItemFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_desktop_item_deployer(
&self,
param_0: RString,
param_1: DeployableDesktopItemFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_desktop_item_deployer(
&self,
param_0: RString,
param_1: DeployableDesktopItemFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_compositor(
&self,
param_0: RString,
param_1: CompositorFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_compositor(
&self,
param_0: RString,
param_1: CompositorFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_spotlight(&self, param_0: RString, param_1: SpotlightFactoryBox)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_spotlight(&self, param_0: RString, param_1: SpotlightFactoryBox)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_quick_settings(
&self,
param_0: RString,
param_1: QuickSettingsFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_quick_settings(
&self,
param_0: RString,
param_1: QuickSettingsFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_config_parser(&self, param_0: RString, param_1: ConfigParserBox)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_config_parser(&self, param_0: RString, param_1: ConfigParserBox)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_command(
&self,
param_0: RString,
param_1: RString,
param_2: RString,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_command(
&self,
param_0: RString,
param_1: RString,
param_2: RString,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_payload_parser(
&self,
param_0: RVec<RString>,
param_1: PayloadParserBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_payload_parser(
&self,
param_0: RVec<RString>,
param_1: PayloadParserBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn dispatch_payload(&self, param_0: RStr<'_>, param_1: PayloadBox) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn dispatch_payload(&self, param_0: RStr<'_>, param_1: PayloadBox) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn canvas(&self, param_0: u32, param_1: u32) -> ROption<CanvasRef>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn canvas(&self, param_0: u32, param_1: u32) -> ROption<CanvasRef>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn store_touch(&self, param_0: TypeKey) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn store_touch(&self, param_0: TypeKey) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_service(
&self,
param_0: RString,
param_1: ServiceFactoryBox,
param_2: bool,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_service(
&self,
param_0: RString,
param_1: ServiceFactoryBox,
param_2: bool,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn register_foreground_service(
&self,
param_0: RString,
param_1: ForegroundServiceFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn register_foreground_service(
&self,
param_0: RString,
param_1: ForegroundServiceFactoryBox,
)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn service_start(&self, param_0: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn service_start(&self, param_0: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn service_stop(&self, param_0: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn service_stop(&self, param_0: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn service_running(&self, param_0: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn service_running(&self, param_0: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn service_send(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn service_send(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn service_notify(&self) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn service_notify(&self) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn service_sleep(&self, param_0: u64) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn service_sleep(&self, param_0: u64) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn service_stopping(&self) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn service_stopping(&self) -> boolwhere
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn service_recv(&self, param_0: u32) -> ROption<RString>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn service_recv(&self, param_0: u32) -> ROption<RString>where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Sourcepub fn notch_set_status(&self, param_0: RString, param_1: ROption<NotchStatus>)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
pub fn notch_set_status(&self, param_0: RString, param_1: ROption<NotchStatus>)where
_ErasedPtr: AsPtr<PtrTarget = ()>,
This is the inherent equivalent of the trait method of the same name
Trait Implementations§
Source§impl<_ErasedPtr> GetStaticEquivalent_ for Host_TO<_ErasedPtr>
impl<_ErasedPtr> GetStaticEquivalent_ for Host_TO<_ErasedPtr>
Source§type StaticEquivalent = _static_Host_TO<<_ErasedPtr as GetStaticEquivalent_>::StaticEquivalent>
type StaticEquivalent = _static_Host_TO<<_ErasedPtr as GetStaticEquivalent_>::StaticEquivalent>
'static equivalent of SelfSource§impl<_ErasedPtr> Host for Host_TO<_ErasedPtr>
impl<_ErasedPtr> Host for Host_TO<_ErasedPtr>
fn log(&self, param_0: i32, param_1: RString)
fn plugin_error(&self, param_0: u32, param_1: RString)
fn option_str(&self, param_0: RStr<'_>) -> ROption<RString>
fn option_f64(&self, param_0: RStr<'_>) -> ROption<f64>
fn option_i64(&self, param_0: RStr<'_>) -> ROption<i64>
fn option_bool(&self, param_0: RStr<'_>) -> ROption<bool>
fn config_str(&self, param_0: RStr<'_>) -> ROption<RString>
fn config_f64(&self, param_0: RStr<'_>) -> ROption<f64>
fn config_i64(&self, param_0: RStr<'_>) -> ROption<i64>
fn config_bool(&self, param_0: RStr<'_>) -> ROption<bool>
fn set_interval(&self, param_0: u32, param_1: bool, param_2: u32) -> i32
fn register_fd(&self, param_0: i32, param_1: u32) -> i32
fn request_redraw(&self, param_0: u64)
fn compositor_state(&self) -> ROption<CompositorState>
fn set_compositor_state(&self, param_0: CompositorState)
fn compositor_register_fd(&self, param_0: i32, param_1: u32) -> i32
fn audio_state(&self) -> ROption<AudioState>
fn bluetooth_state(&self) -> ROption<BluetoothState>
fn network_state(&self) -> ROption<NetworkState>
fn system_state(&self) -> ROption<SystemState>
fn tray_state(&self) -> ROption<TrayState>
fn power_state(&self) -> ROption<PowerState>
fn style_number(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> ROption<f32>
fn style_bool(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> ROption<bool>
fn style_color(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> ROption<Color>
fn theme(&self) -> Theme
fn register_style(&self, param_0: RStr<'_>) -> i32
fn dispatch(&self, param_0: RStr<'_>) -> bool
fn persistence_get(&self, param_0: RStr<'_>) -> ROption<RString>
fn persistence_set(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> bool
fn persistence_remove(&self, param_0: RStr<'_>) -> bool
fn notify(&self, param_0: Notification) -> ROption<u32>
fn store_insert(&self, param_0: TypeKey, param_1: ErasedValue) -> bool
fn store_get<'a>( &self, param_0: &Context<'a>, param_1: TypeKey, ) -> ROption<ErasedRef<'a>>
fn store_remove(&self, param_0: TypeKey) -> ROption<ErasedValue>
fn store_contains(&self, param_0: TypeKey) -> bool
fn store_subscribe(&self, param_0: TypeKey, param_1: StoreCallbackBox)
fn register_component(&self, param_0: RString, param_1: ComponentFactoryBox)
fn register_renderable(&self, param_0: RString, param_1: RenderableFactoryBox)
fn register_payload(&self, param_0: RString, param_1: PayloadFactoryBox)
fn register_desktop_item( &self, param_0: RString, param_1: DesktopItemFactoryBox, )
fn register_desktop_item_deployer( &self, param_0: RString, param_1: DeployableDesktopItemFactoryBox, )
fn register_compositor(&self, param_0: RString, param_1: CompositorFactoryBox)
fn register_spotlight(&self, param_0: RString, param_1: SpotlightFactoryBox)
fn register_quick_settings( &self, param_0: RString, param_1: QuickSettingsFactoryBox, )
fn register_config_parser(&self, param_0: RString, param_1: ConfigParserBox)
fn register_command(&self, param_0: RString, param_1: RString, param_2: RString)
fn register_payload_parser( &self, param_0: RVec<RString>, param_1: PayloadParserBox, )
fn dispatch_payload(&self, param_0: RStr<'_>, param_1: PayloadBox) -> bool
fn canvas(&self, param_0: u32, param_1: u32) -> ROption<CanvasRef>
fn store_touch(&self, param_0: TypeKey) -> bool
fn register_service( &self, param_0: RString, param_1: ServiceFactoryBox, param_2: bool, )
fn register_foreground_service( &self, param_0: RString, param_1: ForegroundServiceFactoryBox, )
fn service_start(&self, param_0: RStr<'_>) -> bool
fn service_stop(&self, param_0: RStr<'_>) -> bool
fn service_running(&self, param_0: RStr<'_>) -> bool
fn service_send(&self, param_0: RStr<'_>, param_1: RStr<'_>) -> bool
fn service_notify(&self) -> bool
fn service_sleep(&self, param_0: u64) -> bool
fn service_stopping(&self) -> bool
fn service_recv(&self, param_0: u32) -> ROption<RString>
fn notch_set_status(&self, param_0: RString, param_1: ROption<NotchStatus>)
Source§impl HostExt for Host_TO<RBox<()>>
impl HostExt for Host_TO<RBox<()>>
fn component<T: Component>(&self, name: &str)
fn renderable<T: Renderable>(&self, name: &str)
fn payload<T: Payload>(&self, command: &str)
fn desktop_item<T: DesktopItem>(&self, name: &str)
fn desktop_item_deployer<T: DeployableDesktopItem>(&self, name: &str)
fn compositor<T: Compositor>(&self, name: &str)
fn spotlight<T: Spotlight>(&self, name: &str)
fn quick_settings<T: QuickSettings>(&self, name: &str)
fn config_parser<T: Send + Sync + 'static>( &self, name: &str, parse: impl Fn(Option<&KdlNode>) -> T + Send + Sync + 'static, )
fn config_parser_try<T: Send + Sync + 'static>( &self, name: &str, parse: impl Fn(Option<&KdlNode>) -> Result<T, String> + Send + Sync + 'static, )
fn service<T: Service>(&self, name: &str)
fn service_autostart<T: Service>(&self, name: &str)
fn foreground_service<T: ForegroundService>(&self, name: &str)
fn payload_parser<T: Clone + Send + Sync + 'static>( &self, commands: &[&str], parse: impl Fn(&str, &Args) -> Option<T> + Send + Sync + 'static, )
fn command(&self, name: &str, title: &str)
fn command_with(&self, name: &str, title: &str, description: &str)
fn style(&self, css: &str)
impl<_ErasedPtr> Send for Host_TO<_ErasedPtr>where
_ErasedPtr: __GetPointerKind,
Source§impl<_ErasedPtr> StableAbi for Host_TO<_ErasedPtr>
impl<_ErasedPtr> StableAbi for Host_TO<_ErasedPtr>
Source§type IsNonZeroType = <RObject<'static, _ErasedPtr, Host_Interface, VTable_Prefix<(), _ErasedPtr>> as StableAbi>::IsNonZeroType
type IsNonZeroType = <RObject<'static, _ErasedPtr, Host_Interface, VTable_Prefix<(), _ErasedPtr>> as StableAbi>::IsNonZeroType
§const ABI_CONSTS: AbiConsts = _
const ABI_CONSTS: AbiConsts = _
const-equivalents of the associated types.impl<_ErasedPtr> Sync for Host_TO<_ErasedPtr>where
_ErasedPtr: __GetPointerKind,
Auto Trait Implementations§
impl<_ErasedPtr> !Unpin for Host_TO<_ErasedPtr>
impl<_ErasedPtr> Freeze for Host_TO<_ErasedPtr>where
_ErasedPtr: Freeze,
impl<_ErasedPtr> RefUnwindSafe for Host_TO<_ErasedPtr>where
_ErasedPtr: RefUnwindSafe,
impl<_ErasedPtr> UnsafeUnpin for Host_TO<_ErasedPtr>where
_ErasedPtr: UnsafeUnpin,
impl<_ErasedPtr> UnwindSafe for Host_TO<_ErasedPtr>where
_ErasedPtr: UnwindSafe,
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
replaced by palette::chromatic_adaptation::AdaptIntoUnclamped
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
replaced by palette::chromatic_adaptation::AdaptIntoUnclamped
Source§impl<T, C> AdaptIntoUnclamped<T> for Cwhere
T: AdaptFromUnclamped<C>,
impl<T, C> AdaptIntoUnclamped<T> for Cwhere
T: AdaptFromUnclamped<C>,
Source§type Scalar = <T as AdaptFromUnclamped<C>>::Scalar
type Scalar = <T as AdaptFromUnclamped<C>>::Scalar
Source§fn adapt_into_unclamped_with<M>(self) -> Twhere
M: LmsToXyz<<C as AdaptIntoUnclamped<T>>::Scalar> + XyzToLms<<C as AdaptIntoUnclamped<T>>::Scalar>,
fn adapt_into_unclamped_with<M>(self) -> Twhere
M: LmsToXyz<<C as AdaptIntoUnclamped<T>>::Scalar> + XyzToLms<<C as AdaptIntoUnclamped<T>>::Scalar>,
§impl<T> AlignerFor<1> for T
impl<T> AlignerFor<1> for T
§impl<T> AlignerFor<2> for T
impl<T> AlignerFor<2> for T
§impl<T> AlignerFor<4> for T
impl<T> AlignerFor<4> for T
§impl<T> AlignerFor<8> for T
impl<T> AlignerFor<8> for T
§impl<T> AlignerFor<16> for T
impl<T> AlignerFor<16> for T
§impl<T> AlignerFor<32> for T
impl<T> AlignerFor<32> for T
§impl<T> AlignerFor<64> for T
impl<T> AlignerFor<64> for T
§impl<T> AlignerFor<128> for T
impl<T> AlignerFor<128> for T
§impl<T> AlignerFor<256> for T
impl<T> AlignerFor<256> for T
§impl<T> AlignerFor<512> for T
impl<T> AlignerFor<512> for T
§impl<T> AlignerFor<1024> for T
impl<T> AlignerFor<1024> for T
§impl<T> AlignerFor<2048> for T
impl<T> AlignerFor<2048> for T
§impl<T> AlignerFor<4096> for T
impl<T> AlignerFor<4096> for T
§impl<T> AlignerFor<8192> for T
impl<T> AlignerFor<8192> for T
§impl<T> AlignerFor<16384> for T
impl<T> AlignerFor<16384> for T
§impl<T> AlignerFor<32768> for T
impl<T> AlignerFor<32768> for T
Source§impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
Source§fn arrays_from(colors: C) -> T
fn arrays_from(colors: C) -> T
Source§impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
Source§fn arrays_into(self) -> C
fn arrays_into(self) -> C
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
Source§impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
Source§type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
parameters when converting.Source§fn cam16_into_unclamped(
self,
parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>,
) -> T
fn cam16_into_unclamped( self, parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>, ) -> T
self into C, using the provided parameters.impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
Source§fn components_from(colors: C) -> T
fn components_from(colors: C) -> T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> FromAngle<T> for T
impl<T> FromAngle<T> for T
Source§fn from_angle(angle: T) -> T
fn from_angle(angle: T) -> T
angle.Source§impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
Source§fn from_stimulus(other: U) -> T
fn from_stimulus(other: U) -> T
other into Self, while performing the appropriate scaling,
rounding and clamping.§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
Source§fn into_angle(self) -> U
fn into_angle(self) -> U
T.§impl<State, Message> IntoBoot<State, Message> for State
impl<State, Message> IntoBoot<State, Message> for State
Source§impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
Source§type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
parameters when converting.Source§fn into_cam16_unclamped(
self,
parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>,
) -> T
fn into_cam16_unclamped( self, parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>, ) -> T
self into C, using the provided parameters.Source§impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
Source§fn into_color(self) -> U
fn into_color(self) -> U
Source§impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
Source§fn into_color_unclamped(self) -> U
fn into_color_unclamped(self) -> U
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> ⓘ
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> ⓘ
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 moreSource§impl<T> IntoStimulus<T> for T
impl<T> IntoStimulus<T> for T
Source§fn into_stimulus(self) -> T
fn into_stimulus(self) -> T
self into T, while performing the appropriate scaling,
rounding and clamping.impl<T> MaybeClone for T
impl<T> MaybeSend for Twhere
T: Send,
impl<T> MaybeSync for Twhere
T: Sync,
§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg] or
a color-specific method, such as [OwoColorize::green], Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg] or
a color-specific method, such as [OwoColorize::on_yellow], Read more§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<S> ROExtAcc for S
impl<S> ROExtAcc for S
§fn f_get<F>(&self, offset: FieldOffset<S, F, Aligned>) -> &F
fn f_get<F>(&self, offset: FieldOffset<S, F, Aligned>) -> &F
offset. Read more§fn f_get_mut<F>(&mut self, offset: FieldOffset<S, F, Aligned>) -> &mut F
fn f_get_mut<F>(&mut self, offset: FieldOffset<S, F, Aligned>) -> &mut F
offset. Read more§fn f_get_ptr<F, A>(&self, offset: FieldOffset<S, F, A>) -> *const F
fn f_get_ptr<F, A>(&self, offset: FieldOffset<S, F, A>) -> *const F
offset. Read more§fn f_get_mut_ptr<F, A>(&mut self, offset: FieldOffset<S, F, A>) -> *mut F
fn f_get_mut_ptr<F, A>(&mut self, offset: FieldOffset<S, F, A>) -> *mut F
offset. Read more§impl<S> ROExtOps<Aligned> for S
impl<S> ROExtOps<Aligned> for S
§fn f_replace<F>(&mut self, offset: FieldOffset<S, F, Aligned>, value: F) -> F
fn f_replace<F>(&mut self, offset: FieldOffset<S, F, Aligned>, value: F) -> F
offset) with value,
returning the previous value of the field. Read more§fn f_get_copy<F>(&self, offset: FieldOffset<S, F, Aligned>) -> Fwhere
F: Copy,
fn f_get_copy<F>(&self, offset: FieldOffset<S, F, Aligned>) -> Fwhere
F: Copy,
§impl<S> ROExtOps<Unaligned> for S
impl<S> ROExtOps<Unaligned> for S
§fn f_replace<F>(&mut self, offset: FieldOffset<S, F, Unaligned>, value: F) -> F
fn f_replace<F>(&mut self, offset: FieldOffset<S, F, Unaligned>, value: F) -> F
offset) with value,
returning the previous value of the field. Read more§fn f_get_copy<F>(&self, offset: FieldOffset<S, F, Unaligned>) -> Fwhere
F: Copy,
fn f_get_copy<F>(&self, offset: FieldOffset<S, F, Unaligned>) -> Fwhere
F: Copy,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> SelfOps for Twhere
T: ?Sized,
impl<T> SelfOps for Twhere
T: ?Sized,
§fn piped<F, U>(self, f: F) -> U
fn piped<F, U>(self, f: F) -> U
§fn piped_ref<'a, F, U>(&'a self, f: F) -> Uwhere
F: FnOnce(&'a Self) -> U,
fn piped_ref<'a, F, U>(&'a self, f: F) -> Uwhere
F: FnOnce(&'a Self) -> U,
piped except that the function takes &Self
Useful for functions that take &Self instead of Self. Read more§fn piped_mut<'a, F, U>(&'a mut self, f: F) -> Uwhere
F: FnOnce(&'a mut Self) -> U,
fn piped_mut<'a, F, U>(&'a mut self, f: F) -> Uwhere
F: FnOnce(&'a mut Self) -> U,
piped, except that the function takes &mut Self.
Useful for functions that take &mut Self instead of Self.§fn mutated<F>(self, f: F) -> Self
fn mutated<F>(self, f: F) -> Self
§fn observe<F>(self, f: F) -> Self
fn observe<F>(self, f: F) -> Self
§fn as_ref_<T>(&self) -> &T
fn as_ref_<T>(&self) -> &T
AsRef,
using the turbofish .as_ref_::<_>() syntax. Read more§impl<This> TransmuteElement for Thiswhere
This: ?Sized,
impl<This> TransmuteElement for Thiswhere
This: ?Sized,
§unsafe fn transmute_element<T>(self) -> Self::TransmutedPtrwhere
Self: CanTransmuteElement<T>,
unsafe fn transmute_element<T>(self) -> Self::TransmutedPtrwhere
Self: CanTransmuteElement<T>,
Source§impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
Source§type Error = <C as TryFromComponents<T>>::Error
type Error = <C as TryFromComponents<T>>::Error
try_into_colors fails to cast.Source§fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
Source§impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
Source§fn try_into_color(self) -> Result<U, OutOfBounds<U>>
fn try_into_color(self) -> Result<U, OutOfBounds<U>>
OutOfBounds error is returned which contains
the unclamped color. Read more