pub struct AccessorOptions(/* private fields */);Expand description
This structure is used to pass the accessor options to libCZIAPI.
Implementations§
Source§impl AccessorOptions
impl AccessorOptions
pub fn new<S: AsRef<str>>( back_ground_color_r: f32, back_ground_color_g: f32, back_ground_color_b: f32, sort_by_m: bool, use_visibility_check_optimization: bool, additional_parameters: S, ) -> Result<Self, Error>
pub fn get_background_color_r(&self) -> f32
pub fn get_background_color_g(&self) -> f32
pub fn get_background_color_b(&self) -> f32
pub fn get_sort_by_m(&self) -> bool
pub fn get_use_visibility_check_optimization(&self) -> bool
pub fn get_additional_parameters(&self) -> Result<String, Error>
pub fn set_background_color_r(&mut self, back_ground_color_r: f32)
pub fn set_background_color_g(&mut self, back_ground_color_g: f32)
pub fn set_background_color_b(&mut self, back_ground_color_b: f32)
pub fn set_sort_by_m(&mut self, sort_by_m: bool)
pub fn set_use_visibility_check_optimization( &mut self, use_visibility_check_optimization: bool, )
pub fn set_additional_parameters<S: AsRef<str>>( &mut self, additional_parameters: S, ) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for AccessorOptions
impl Clone for AccessorOptions
Source§fn clone(&self) -> AccessorOptions
fn clone(&self) -> AccessorOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AccessorOptions
impl RefUnwindSafe for AccessorOptions
impl !Send for AccessorOptions
impl !Sync for AccessorOptions
impl Unpin for AccessorOptions
impl UnsafeUnpin for AccessorOptions
impl UnwindSafe for AccessorOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more