Skip to main content

Crate pylon_shimload

Crate pylon_shimload 

Source
Expand description

Runtime-loaded Rust bindings for Basler Pylon cameras.

This crate loads a C ABI shim library at runtime. The shim library links against the Pylon C++ SDK. This allows the crate to be used without linking to the Pylon library at compile time, and also allows it to be used with different versions of the Pylon library without recompilation. Set the PYLON_CABI environment variable to point at the shim if it is not installed in a standard library location.

Modules§

runtime
Pylon runtime lifecycle management.

Structs§

BooleanNode
Boolean-valued GenICam parameter.
CommandNode
Command-like GenICam parameter.
DeviceInfo
Immutable information about a discovered device.
EnumNode
Enum-valued GenICam parameter.
FloatNode
Floating-point GenICam parameter.
GrabOptions
Options passed to InstantCamera::start_grabbing.
GrabResult
Reusable container for a single grab result.
InstantCamera
Camera handle used to open, configure, and grab from a device.
IntegerNode
Integer-valued GenICam parameter.
NodeMap
Borrowed GenICam node map tied to the lifetime of its parent object.
PylonVersion
Pylon version information.

Enums§

GrabStrategy
Buffer handling strategy used while grabbing.
PylonError
Errors returned by this crate.
ShimError
Errors encountered while loading the C ABI shim.
TimeoutHandling
How timeout conditions are reported by grab operations.

Traits§

HasProperties
Shared access to name/value device properties.

Functions§

create_device
Creates a camera handle from previously discovered device info.
create_first_device
Creates the first available camera device.
enumerate_devices
Enumerates all currently available camera devices.
version
Returns the version of the loaded Pylon runtime.

Type Aliases§

PylonResult
Convenient result type used throughout the crate.