pub struct Audio {
pub content: Vec<u8>,
pub name: CompactString,
}
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
name: CompactString
The user-level name of the audio clip
Trait Implementations§
Source§impl From<Audio> for SimpleValue
impl From<Audio> for SimpleValue
impl Eq for Audio
impl StructuralPartialEq for Audio
Auto Trait Implementations§
impl Freeze for Audio
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