Trait qecs_core::BufferBase
[−]
[src]
pub trait BufferBase: Any + Sync + Send { fn len(&self) -> usize; fn clear(&mut self); }
Required Methods
Methods
impl BufferBase
fn is<__T>(&self) -> bool where __T: Any, Self: Downcast<__T>
unsafe fn unchecked_downcast_ref<__T>(&self) -> &__T where __T: Any, Self: Downcast<__T>
fn downcast_ref<__T>(&self) -> Option<&__T> where __T: Any, Self: Downcast<__T>
unsafe fn unchecked_downcast_mut<__T>(&mut self) -> &mut __T where __T: Any, Self: Downcast<__T>
fn downcast_mut<__T>(&mut self) -> Option<&mut __T> where __T: Any, Self: Downcast<__T>
fn downcast_boxed<__T>(self: Box<Self>) -> Result<Box<__T>, Box<Self>> where __T: Any, Self: Downcast<__T>
Trait Implementations
impl<__T> Downcast<__T> for BufferBase where __T: Any
fn is_type(&self) -> bool
unsafe fn unchecked_downcast_ref(&self) -> &__T
fn downcast_ref(&self) -> Option<&__T>
unsafe fn unchecked_downcast_mut(&mut self) -> &mut __T
fn downcast_mut(&mut self) -> Option<&mut __T>
fn downcast_boxed(self: Box<Self>) -> Result<Box<__T>, Box<Self>>
Implementors
impl<B: BufferBase + ?Sized> BufferBase for Box<B>