pub struct Datatype { /* private fields */ }Implementations§
Source§impl Datatype
impl Datatype
pub fn clone_handle(&self) -> Result<Self>
pub fn datatype(&self) -> Result<Option<DatatypeEnum>>
pub fn as_frame(&self) -> Result<Option<ImageFrame>>
pub fn as_encoded_frame(&self) -> Result<Option<EncodedFrame>>
pub fn as_rgbd(&self) -> Result<Option<RgbdData>>
pub fn as_pointcloud(&self) -> Result<Option<PointCloudData>>
pub fn as_buffer(&self) -> Result<Option<Buffer>>
pub fn as_message_group(&self) -> Result<Option<MessageGroup>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Datatype
impl RefUnwindSafe for Datatype
impl Unpin for Datatype
impl UnwindSafe for Datatype
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more