pub enum IntegrationMode {
ManualSkill,
LauncherWrapper,
NativeHook,
ReferenceAdapter,
}Expand description
Integration modes supported by host asset rendering.
Mirrors the subset of crate::IntegrationMode that maps to actual
installable assets. TelemetryOnly does not produce assets and is
therefore not represented here; callers that have a full
IntegrationMode can convert with Self::from_lifecycle_mode.
Variants§
Implementations§
Source§impl IntegrationMode
impl IntegrationMode
pub const ALL: &'static [Self]
pub fn as_str(self) -> &'static str
pub fn from_id(value: &str) -> Option<Self>
Sourcepub fn from_lifecycle_mode(mode: IntegrationMode) -> Option<Self>
pub fn from_lifecycle_mode(mode: IntegrationMode) -> Option<Self>
Convert from the broader crate::IntegrationMode. Returns None
for TelemetryOnly, which has no asset surface.
Trait Implementations§
Source§impl Clone for IntegrationMode
impl Clone for IntegrationMode
Source§fn clone(&self) -> IntegrationMode
fn clone(&self) -> IntegrationMode
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 IntegrationMode
impl Debug for IntegrationMode
Source§impl Hash for IntegrationMode
impl Hash for IntegrationMode
Source§impl PartialEq for IntegrationMode
impl PartialEq for IntegrationMode
Source§fn eq(&self, other: &IntegrationMode) -> bool
fn eq(&self, other: &IntegrationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IntegrationMode
impl Eq for IntegrationMode
impl StructuralPartialEq for IntegrationMode
Auto Trait Implementations§
impl Freeze for IntegrationMode
impl RefUnwindSafe for IntegrationMode
impl Send for IntegrationMode
impl Sync for IntegrationMode
impl Unpin for IntegrationMode
impl UnsafeUnpin for IntegrationMode
impl UnwindSafe for IntegrationMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.