Struct librespot_protocol::playlist4content::ContentRange[][src]

pub struct ContentRange {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted


unknown_fields: UnknownFieldscached_size: CachedSize


impl ContentRange[src]

pub fn new() -> ContentRange[src]

pub fn get_pos(&self) -> i32[src]

pub fn clear_pos(&mut self)[src]

pub fn has_pos(&self) -> bool[src]

pub fn set_pos(&mut self, v: i32)[src]

pub fn get_length(&self) -> i32[src]

pub fn clear_length(&mut self)[src]

pub fn has_length(&self) -> bool[src]

pub fn set_length(&mut self, v: i32)[src]

Trait Implementations

impl Clear for ContentRange[src]

impl Clone for ContentRange[src]

impl Debug for ContentRange[src]

impl Default for ContentRange[src]

impl<'a> Default for &'a ContentRange[src]

impl Message for ContentRange[src]

impl PartialEq<ContentRange> for ContentRange[src]

impl ProtobufValue for ContentRange[src]

impl StructuralPartialEq for ContentRange[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.