pub enum InputStackInstance {
Setup(InputStackListener),
Listener(InputStackListenerId),
}
Variants
Setup(InputStackListener)
Listener(InputStackListenerId)
Implementations
sourceimpl InputStackInstance
impl InputStackInstance
pub fn as_listener(&self) -> Option<InputStackListenerId>
Trait Implementations
sourceimpl Clone for InputStackInstance
impl Clone for InputStackInstance
sourcefn clone(&self) -> InputStackInstance
fn clone(&self) -> InputStackInstance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InputStackInstance
impl Debug for InputStackInstance
sourceimpl Default for InputStackInstance
impl Default for InputStackInstance
sourceimpl<'de> Deserialize<'de> for InputStackInstance
impl<'de> Deserialize<'de> for InputStackInstance
sourcefn 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
sourceimpl Prefab for InputStackInstance
impl Prefab for InputStackInstance
fn from_prefab(data: &Intermediate) -> Result<Self, PrefabError>
fn from_prefab_with_extras(
data: &Intermediate,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<PhantomData<dyn State + Send + Sync + 'static>>
) -> Result<Self, PrefabError>
fn to_prefab(&self) -> Result<Intermediate, PrefabError>
fn from_prefab_str(data: &str) -> Result<Self, PrefabError>
fn to_prefab_string(&self) -> Result<String, PrefabError>
fn post_from_prefab(&mut self)
sourceimpl Serialize for InputStackInstance
impl Serialize for InputStackInstance
impl PrefabComponent for InputStackInstance
Auto Trait Implementations
impl RefUnwindSafe for InputStackInstance
impl Send for InputStackInstance
impl Sync for InputStackInstance
impl Unpin for InputStackInstance
impl UnwindSafe for InputStackInstance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more