pub struct BooleanNode(/* private fields */);Expand description
A node that has IBoolean interface.
Implementations§
Source§impl BooleanNode
impl BooleanNode
Sourcepub fn value<Ctrl, Ctxt>(
self,
ctxt: &mut ParamsCtxt<Ctrl, Ctxt>,
) -> GenApiResult<bool>where
Ctrl: DeviceControl,
Ctxt: GenApiCtxt,
pub fn value<Ctrl, Ctxt>(
self,
ctxt: &mut ParamsCtxt<Ctrl, Ctxt>,
) -> GenApiResult<bool>where
Ctrl: DeviceControl,
Ctxt: GenApiCtxt,
Returns the value of the node.
Sourcepub fn set_value<Ctrl, Ctxt>(
self,
ctxt: &mut ParamsCtxt<Ctrl, Ctxt>,
value: bool,
) -> GenApiResult<()>where
Ctrl: DeviceControl,
Ctxt: GenApiCtxt,
pub fn set_value<Ctrl, Ctxt>(
self,
ctxt: &mut ParamsCtxt<Ctrl, Ctxt>,
value: bool,
) -> GenApiResult<()>where
Ctrl: DeviceControl,
Ctxt: GenApiCtxt,
Sets the value of the node.
Sourcepub fn is_readable<Ctrl, Ctxt>(
self,
ctxt: &mut ParamsCtxt<Ctrl, Ctxt>,
) -> GenApiResult<bool>where
Ctrl: DeviceControl,
Ctxt: GenApiCtxt,
pub fn is_readable<Ctrl, Ctxt>(
self,
ctxt: &mut ParamsCtxt<Ctrl, Ctxt>,
) -> GenApiResult<bool>where
Ctrl: DeviceControl,
Ctxt: GenApiCtxt,
Returns true if the node is readable.
Sourcepub fn is_writable<Ctrl, Ctxt>(
self,
ctxt: &mut ParamsCtxt<Ctrl, Ctxt>,
) -> GenApiResult<bool>where
Ctrl: DeviceControl,
Ctxt: GenApiCtxt,
pub fn is_writable<Ctrl, Ctxt>(
self,
ctxt: &mut ParamsCtxt<Ctrl, Ctxt>,
) -> GenApiResult<bool>where
Ctrl: DeviceControl,
Ctxt: GenApiCtxt,
Returns true if the node is writable.
Trait Implementations§
Source§impl Clone for BooleanNode
impl Clone for BooleanNode
impl Copy for BooleanNode
Source§impl Debug for BooleanNode
impl Debug for BooleanNode
impl Eq for BooleanNode
Source§impl Hash for BooleanNode
impl Hash for BooleanNode
Source§impl PartialEq for BooleanNode
impl PartialEq for BooleanNode
impl StructuralPartialEq for BooleanNode
Auto Trait Implementations§
impl Freeze for BooleanNode
impl RefUnwindSafe for BooleanNode
impl Send for BooleanNode
impl Sync for BooleanNode
impl Unpin for BooleanNode
impl UnsafeUnpin for BooleanNode
impl UnwindSafe for BooleanNode
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