Struct netsblox_vm::runtime::Audio
source · pub struct Audio {
pub content: Vec<u8>,
}
Expand description
An audio clip type that can be used in the VM.
Fields§
§content: Vec<u8>
The raw binary content of the audio clip
Trait Implementations§
source§impl From<Audio> for SimpleValue
impl From<Audio> for SimpleValue
source§impl PartialEq for Audio
impl PartialEq for Audio
impl Eq for Audio
impl StructuralEq for Audio
impl StructuralPartialEq for Audio
Auto Trait Implementations§
impl RefUnwindSafe for Audio
impl Send for Audio
impl Sync for Audio
impl Unpin for Audio
impl UnwindSafe for Audio
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.