Enum script::dom::htmlmediaelement::ReadyState
source · #[repr(u8)]
pub enum ReadyState {
HaveNothing,
HaveMetadata,
HaveCurrentData,
HaveFutureData,
HaveEnoughData,
}
Expand description
Variants
Trait Implementations
sourceimpl Clone for ReadyState
impl Clone for ReadyState
sourcefn clone(&self) -> ReadyState
fn clone(&self) -> ReadyState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ReadyState
impl Debug for ReadyState
sourceimpl JSTraceable for ReadyState
impl JSTraceable for ReadyState
sourceimpl MallocSizeOf for ReadyState
impl MallocSizeOf for ReadyState
sourcefn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself. Read more
sourceimpl PartialEq<ReadyState> for ReadyState
impl PartialEq<ReadyState> for ReadyState
sourcefn eq(&self, other: &ReadyState) -> bool
fn eq(&self, other: &ReadyState) -> bool
sourceimpl PartialOrd<ReadyState> for ReadyState
impl PartialOrd<ReadyState> for ReadyState
sourcefn partial_cmp(&self, other: &ReadyState) -> Option<Ordering>
fn partial_cmp(&self, other: &ReadyState) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ReadyState
impl StructuralPartialEq for ReadyState
Auto Trait Implementations
impl RefUnwindSafe for ReadyState
impl Send for ReadyState
impl Sync for ReadyState
impl Unpin for ReadyState
impl UnwindSafe for ReadyState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
sourcefn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
sourceimpl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
sourcefn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert