Skip to main content

ADDriverParams

Struct ADDriverParams 

Source
pub struct ADDriverParams {
Show 39 fields pub base: NDArrayDriverParams, pub max_size_x: usize, pub max_size_y: usize, pub size_x: usize, pub size_y: usize, pub min_x: usize, pub min_y: usize, pub bin_x: usize, pub bin_y: usize, pub reverse_x: usize, pub reverse_y: usize, pub image_mode: usize, pub num_images: usize, pub num_images_counter: usize, pub num_exposures: usize, pub num_exposures_counter: usize, pub acquire_time: usize, pub acquire_period: usize, pub time_remaining: usize, pub status: usize, pub status_message: usize, pub string_to_server: usize, pub string_from_server: usize, pub acquire: usize, pub acquire_busy: usize, pub wait_for_plugins: usize, pub read_status: usize, pub gain: usize, pub frame_type: usize, pub trigger_mode: usize, pub shutter_control: usize, pub shutter_control_epics: usize, pub shutter_status: usize, pub shutter_status_epics: usize, pub shutter_mode: usize, pub shutter_open_delay: usize, pub shutter_close_delay: usize, pub temperature: usize, pub temperature_actual: usize,
}
Expand description

Additional parameters for ADDriver (detector-specific: gain, shutter, temperature, trigger).

Fields§

§base: NDArrayDriverParams§max_size_x: usize§max_size_y: usize§size_x: usize§size_y: usize§min_x: usize§min_y: usize§bin_x: usize§bin_y: usize§reverse_x: usize§reverse_y: usize§image_mode: usize§num_images: usize§num_images_counter: usize§num_exposures: usize§num_exposures_counter: usize§acquire_time: usize§acquire_period: usize§time_remaining: usize§status: usize§status_message: usize§string_to_server: usize§string_from_server: usize§acquire: usize§acquire_busy: usize§wait_for_plugins: usize§read_status: usize§gain: usize§frame_type: usize§trigger_mode: usize§shutter_control: usize§shutter_control_epics: usize§shutter_status: usize§shutter_status_epics: usize§shutter_mode: usize§shutter_open_delay: usize§shutter_close_delay: usize§temperature: usize§temperature_actual: usize

Implementations§

Source§

impl ADDriverParams

Source

pub fn create(port_base: &mut PortDriverBase) -> AsynResult<Self>

Trait Implementations§

Source§

impl Clone for ADDriverParams

Source§

fn clone(&self) -> ADDriverParams

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ADDriverParams

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more