pub trait FilterWheel: Device + Send + Sync {
    // Provided methods
    async fn focus_offsets(&self) -> ASCOMResult<Vec<i32>> { ... }
    async fn names(&self) -> ASCOMResult<Vec<String>> { ... }
    async fn position(&self) -> ASCOMResult<i32> { ... }
    async fn set_position(&self, position: i32) -> ASCOMResult { ... }
}
Available on crate feature filterwheel only.
Expand description

FilterWheel Specific Methods

Provided Methods§

source

async fn focus_offsets(&self) -> ASCOMResult<Vec<i32>>

An integer array of filter focus offsets.

source

async fn names(&self) -> ASCOMResult<Vec<String>>

The names of the filters

source

async fn position(&self) -> ASCOMResult<i32>

Returns the current filter wheel position

source

async fn set_position(&self, position: i32) -> ASCOMResult

Sets the filter wheel position

Trait Implementations§

source§

impl Hash for dyn FilterWheel

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl PartialEq<dyn FilterWheel + 'static> for dyn FilterWheel

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for dyn FilterWheel

Implementors§