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§
- Boolean
Node - Boolean-valued GenICam parameter.
- Command
Node - Command-like GenICam parameter.
- Device
Info - Immutable information about a discovered device.
- Enum
Node - Enum-valued GenICam parameter.
- Float
Node - Floating-point GenICam parameter.
- Grab
Options - Options passed to
InstantCamera::start_grabbing. - Grab
Result - Reusable container for a single grab result.
- Instant
Camera - Camera handle used to open, configure, and grab from a device.
- Integer
Node - Integer-valued GenICam parameter.
- NodeMap
- Borrowed GenICam node map tied to the lifetime of its parent object.
- Pylon
Version - Pylon version information.
Enums§
- Grab
Strategy - Buffer handling strategy used while grabbing.
- Pylon
Error - Errors returned by this crate.
- Shim
Error - Errors encountered while loading the C ABI shim.
- Timeout
Handling - 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§
- Pylon
Result - Convenient result type used throughout the crate.