pub struct KeySoundRow {
pub is_empty: bool,
/* private fields */
}Fields§
§is_empty: boolImplementations§
Source§impl KeySoundRow
impl KeySoundRow
pub fn with_capacity(capacity: usize) -> Self
pub fn empty() -> Self
pub fn with(sounds: Vec<KeySound>) -> Self
pub fn with_unwrap(sounds: &[Option<KeySound>]) -> Self
pub fn get_sounds(&self) -> &Vec<KeySound>
pub fn len(&self) -> usize
pub fn as_ptr(&mut self) -> *const KeySound
pub fn as_mut_ptr(&mut self) -> *mut KeySound
Trait Implementations§
Source§impl Clone for KeySoundRow
impl Clone for KeySoundRow
Source§fn clone(&self) -> KeySoundRow
fn clone(&self) -> KeySoundRow
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 KeySoundRow
impl Debug for KeySoundRow
Source§impl From<KeySoundRow> for JsValue
impl From<KeySoundRow> for JsValue
Source§fn from(value: KeySoundRow) -> Self
fn from(value: KeySoundRow) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for KeySoundRow
impl FromWasmAbi for KeySoundRow
Source§impl Index<usize> for KeySoundRow
impl Index<usize> for KeySoundRow
Source§impl IndexMut<usize> for KeySoundRow
impl IndexMut<usize> for KeySoundRow
Source§impl IntoWasmAbi for KeySoundRow
impl IntoWasmAbi for KeySoundRow
Source§impl LongRefFromWasmAbi for KeySoundRow
impl LongRefFromWasmAbi for KeySoundRow
Source§impl OptionFromWasmAbi for KeySoundRow
impl OptionFromWasmAbi for KeySoundRow
Source§impl OptionIntoWasmAbi for KeySoundRow
impl OptionIntoWasmAbi for KeySoundRow
Source§impl RefFromWasmAbi for KeySoundRow
impl RefFromWasmAbi for KeySoundRow
Source§type Anchor = RcRef<KeySoundRow>
type Anchor = RcRef<KeySoundRow>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for KeySoundRow
impl RefMutFromWasmAbi for KeySoundRow
impl SupportsConstructor for KeySoundRow
impl SupportsInstanceProperty for KeySoundRow
impl SupportsStaticProperty for KeySoundRow
Source§impl TryFromJsValue for KeySoundRow
impl TryFromJsValue for KeySoundRow
Source§impl VectorFromWasmAbi for KeySoundRow
impl VectorFromWasmAbi for KeySoundRow
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[KeySoundRow]>
Source§impl VectorIntoJsValue for KeySoundRow
impl VectorIntoJsValue for KeySoundRow
fn vector_into_jsvalue(vector: Box<[KeySoundRow]>) -> JsValue
Source§impl VectorIntoWasmAbi for KeySoundRow
impl VectorIntoWasmAbi for KeySoundRow
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[KeySoundRow]>) -> Self::Abi
Source§impl WasmDescribeVector for KeySoundRow
impl WasmDescribeVector for KeySoundRow
Auto Trait Implementations§
impl Freeze for KeySoundRow
impl RefUnwindSafe for KeySoundRow
impl Send for KeySoundRow
impl Sync for KeySoundRow
impl Unpin for KeySoundRow
impl UnsafeUnpin for KeySoundRow
impl UnwindSafe for KeySoundRow
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<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.