Struct oxygengine_input::resources::stack::InputStackAxes
source · pub struct InputStackAxes {
pub consume: bool,
/* private fields */
}
Fields§
§consume: bool
Implementations§
source§impl InputStackAxes
impl InputStackAxes
pub fn new(channels: impl Iterator<Item = impl Into<InputStackChannel>>) -> Self
pub fn new_single(channel: impl Into<InputStackChannel>) -> Self
pub fn channels(&self) -> &[InputStackChannel]
pub fn channels_state_or_default<const N: usize>(&self) -> [Scalar; N]
pub fn channel_state_or_default(&self) -> Scalar
Trait Implementations§
source§impl Clone for InputStackAxes
impl Clone for InputStackAxes
source§fn clone(&self) -> InputStackAxes
fn clone(&self) -> InputStackAxes
Returns a copy of the value. Read more
1.0.0 · 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 InputStackAxes
impl Debug for InputStackAxes
source§impl Default for InputStackAxes
impl Default for InputStackAxes
source§fn default() -> InputStackAxes
fn default() -> InputStackAxes
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputStackAxes
impl<'de> Deserialize<'de> for InputStackAxes
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
Auto Trait Implementations§
impl RefUnwindSafe for InputStackAxes
impl Send for InputStackAxes
impl Sync for InputStackAxes
impl Unpin for InputStackAxes
impl UnwindSafe for InputStackAxes
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<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more