[][src]Struct metaflac::block::SeekTable

pub struct SeekTable {
    pub seekpoints: Vec<SeekPoint>,
}

A structure representing a SEEKTABLE block.

Fields

seekpoints: Vec<SeekPoint>

One or more seek points.

Methods

impl SeekTable[src]

pub fn new() -> SeekTable[src]

Returns a new SeekTable with no seekpoints.

pub fn from_bytes(bytes: &[u8]) -> SeekTable[src]

Parses the bytes as a seektable.

pub fn to_bytes(&self) -> Vec<u8>[src]

Returns a vector representation of the seektable suitable for writing to a file.

Trait Implementations

impl Clone for SeekTable[src]

impl Eq for SeekTable[src]

impl PartialEq<SeekTable> for SeekTable[src]

impl Debug for SeekTable[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]