Struct cameleon_genapi::BooleanNode
source · pub struct BooleanNode { /* private fields */ }
Implementations§
source§impl BooleanNode
impl BooleanNode
pub fn value_elem(&self) -> ImmOrPNode<IntegerId>
pub fn on_value(&self) -> i64
pub fn off_value(&self) -> i64
pub fn p_selected(&self) -> &[NodeId]
Trait Implementations§
source§impl Clone for BooleanNode
impl Clone for BooleanNode
source§fn clone(&self) -> BooleanNode
fn clone(&self) -> BooleanNode
Returns a copy 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 moresource§impl Debug for BooleanNode
impl Debug for BooleanNode
source§impl IBoolean for BooleanNode
impl IBoolean for BooleanNode
fn value<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<bool>
fn set_value<T: ValueStore, U: CacheStore>( &self, value: bool, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
fn is_readable<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<bool>
fn is_writable<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<bool>
source§impl INode for BooleanNode
impl INode for BooleanNode
source§impl ISelector for BooleanNode
impl ISelector for BooleanNode
source§fn selecting_nodes(&self, _store: &impl NodeStore) -> GenApiResult<&[NodeId]>
fn selecting_nodes(&self, _store: &impl NodeStore) -> GenApiResult<&[NodeId]>
Return nodes which refer to the current node as a selector.
Auto Trait Implementations§
impl RefUnwindSafe for BooleanNode
impl Send for BooleanNode
impl Sync for BooleanNode
impl Unpin 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