[][src]Struct aravis::Camera

pub struct Camera(_, _);

Implementations

impl Camera[src]

pub fn new(name: Option<&str>) -> Result<Camera, Error>[src]

Creates a new Camera. If name is null, it will instantiate the first available camera.

If the camera is a GigEVision, name can be either:

  • <vendor>-<model>-<serial>
  • <vendor_alias>-<serial>
  • <vendor>-<serial>
  • <user_id>
  • <ip_address>
  • <mac_address>

For example:

  • The Imaging Source Europe GmbH-DFK 33GX265-39020369
  • The Imaging Source Europe GmbH-39020369
  • TIS-39020369
  • 192.168.0.2
  • 00:07:48:af:a2:61

If the camera is a USB3Vision device, name is either:

  • <vendor_alias>-<serial>
  • <vendor>-<serial>

name

name of the camera.

Returns

a new Camera.

Trait Implementations

impl Clone for Camera[src]

impl Debug for Camera[src]

impl Display for Camera[src]

impl Eq for Camera[src]

impl Hash for Camera[src]

impl Ord for Camera[src]

impl<T: ObjectType> PartialEq<T> for Camera[src]

impl<T: ObjectType> PartialOrd<T> for Camera[src]

impl Send for Camera[src]

impl StaticType for Camera[src]

Auto Trait Implementations

impl RefUnwindSafe for Camera

impl !Sync for Camera

impl Unpin for Camera

impl UnwindSafe for Camera

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

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

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

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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.