Struct cameleon_genapi::BooleanNode
source · pub struct BooleanNode { /* private fields */ }Implementations
sourceimpl 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
sourceimpl Clone for BooleanNode
impl Clone for BooleanNode
sourcefn clone(&self) -> BooleanNode
fn clone(&self) -> BooleanNode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BooleanNode
impl Debug for BooleanNode
sourceimpl 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>
sourceimpl INode for BooleanNode
impl INode for BooleanNode
sourceimpl ISelector for BooleanNode
impl ISelector for BooleanNode
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more