Struct realsense_rust::device::Device[][src]

pub struct Device { /* fields omitted */ }

Represents a device instance.

Implementations

impl Device[src]

pub fn query_sensors(&self) -> Result<SensorList>[src]

Discover available sensors on device.

pub fn hardware_reset(&self) -> Result<()>[src]

pub fn name(&self) -> Result<Option<&str>>[src]

pub fn serial_number(&self) -> Result<Option<&str>>[src]

pub fn recommended_firmware_version(&self) -> Result<Option<&str>>[src]

pub fn physical_port(&self) -> Result<Option<&str>>[src]

pub fn debug_op_code(&self) -> Result<Option<&str>>[src]

pub fn advanced_mode(&self) -> Result<Option<&str>>[src]

pub fn product_id(&self) -> Result<Option<&str>>[src]

pub fn camera_locked(&self) -> Result<Option<&str>>[src]

pub fn usb_type_descriptor(&self) -> Result<Option<&str>>[src]

pub fn product_line(&self) -> Result<Option<&str>>[src]

pub fn asic_serial_number(&self) -> Result<Option<&str>>[src]

pub fn firmware_update_id(&self) -> Result<Option<&str>>[src]

pub fn count(&self) -> Result<Option<&str>>[src]

pub fn info(&self, kind: CameraInfo) -> Result<Option<&str>>[src]

pub fn is_info_supported(&self, kind: CameraInfo) -> Result<bool>[src]

pub fn into_raw(self) -> *mut rs2_device[src]

pub unsafe fn from_raw(ptr: *mut rs2_device) -> Self[src]

Trait Implementations

impl Debug for Device[src]

impl Drop for Device[src]

impl Send for Device[src]

Auto Trait Implementations

impl RefUnwindSafe for Device

impl !Sync for Device

impl Unpin for Device

impl UnwindSafe for Device

Blanket Implementations

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

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

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

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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<V, T> VZip<V> for T where
    V: MultiLane<T>,