[−][src]Struct floaout::format::bub::BubbleBlock
Block of Bubble
Fields
wav_block: WavBlock
Block of Wav
bub_field: BubbleField
Bubble field
Methods
impl BubbleBlock
[src]
pub fn from_wav_block_and_bub_field(
wav_block: WavBlock,
bub_field: BubbleField
) -> Self
[src]
wav_block: WavBlock,
bub_field: BubbleField
) -> Self
This method casts WavBlock
and BubbleField
to Bubble
.
Examples
use floaout::format::BubbleField; use floaout::format::bub::{Bubble, BubbleBlock}; use floaout::format::wav::WavBlock; let bub_field: BubbleField = vec![vec![vec![0], vec![2]], vec![vec![1], vec![3]]].into(); let bub_block = BubbleBlock::from_wav_block_and_bub_field(1.0.into(), bub_field);
Trait Implementations
impl Clone for BubbleBlock
[src]
fn clone(&self) -> BubbleBlock
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BubbleBlock
[src]
impl PartialEq<BubbleBlock> for BubbleBlock
[src]
fn eq(&self, other: &BubbleBlock) -> bool
[src]
fn ne(&self, other: &BubbleBlock) -> bool
[src]
impl PartialOrd<BubbleBlock> for BubbleBlock
[src]
fn partial_cmp(&self, other: &BubbleBlock) -> Option<Ordering>
[src]
fn lt(&self, other: &BubbleBlock) -> bool
[src]
fn le(&self, other: &BubbleBlock) -> bool
[src]
fn gt(&self, other: &BubbleBlock) -> bool
[src]
fn ge(&self, other: &BubbleBlock) -> bool
[src]
impl<'_, R: Read + ?Sized> ReadBlock<&'_ Bubble, BubbleBlock> for R
[src]
fn read_block(&mut self, bub: &Bubble) -> Result<BubbleBlock>
[src]
impl StructuralPartialEq for BubbleBlock
[src]
impl<'_, '_, W: Write + ?Sized> WriteBlock<&'_ Bubble, &'_ BubbleBlock> for W
[src]
fn write_block(&mut self, bub: &Bubble, bub_block: &BubbleBlock) -> Result<()>
[src]
Auto Trait Implementations
impl RefUnwindSafe for BubbleBlock
impl Send for BubbleBlock
impl Sync for BubbleBlock
impl Unpin for BubbleBlock
impl UnwindSafe for BubbleBlock
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,