#[repr(C)]pub struct VmbCameraInfo {
pub cameraIdString: *const c_char,
pub cameraIdExtended: *const c_char,
pub cameraName: *const c_char,
pub modelName: *const c_char,
pub serialString: *const c_char,
pub transportLayerHandle: VmbHandle_t,
pub interfaceHandle: VmbHandle_t,
pub localDeviceHandle: VmbHandle_t,
pub streamHandles: *const VmbHandle_t,
pub streamCount: VmbUint32_t,
pub permittedAccess: VmbAccessMode_t,
}Expand description
\brief Camera information.
Holds read-only information about a camera.
Fields§
§cameraIdString: *const c_char!< Identifier of the camera
cameraIdExtended: *const c_char!< globally unique identifier for the camera
cameraName: *const c_char!< The display name of the camera
modelName: *const c_char!< Model name
serialString: *const c_char!< Serial number
transportLayerHandle: VmbHandle_t!< Handle of the related transport layer for feature access
interfaceHandle: VmbHandle_t!< Handle of the related interface for feature access
localDeviceHandle: VmbHandle_t!< Handle of the related GenTL local device. NULL if the camera is not opened
streamHandles: *const VmbHandle_t!< Handles of the streams provided by the camera. NULL if the camera is not opened
streamCount: VmbUint32_t!< Number of stream handles in the streamHandles array
permittedAccess: VmbAccessMode_t!< Permitted access modes, see ::VmbAccessModeType
Trait Implementations§
Source§impl Clone for VmbCameraInfo
impl Clone for VmbCameraInfo
Source§fn clone(&self) -> VmbCameraInfo
fn clone(&self) -> VmbCameraInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VmbCameraInfo
impl Debug for VmbCameraInfo
Source§impl PartialEq for VmbCameraInfo
impl PartialEq for VmbCameraInfo
impl Copy for VmbCameraInfo
impl StructuralPartialEq for VmbCameraInfo
Auto Trait Implementations§
impl Freeze for VmbCameraInfo
impl RefUnwindSafe for VmbCameraInfo
impl !Send for VmbCameraInfo
impl !Sync for VmbCameraInfo
impl Unpin for VmbCameraInfo
impl UnwindSafe for VmbCameraInfo
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