pub struct IRVariable {
pub name: String,
pub var_type: IRType,
pub channel_id: Option<usize>,
pub init_value: Option<String>,
}Fields§
§name: String§var_type: IRType§channel_id: Option<usize>If assigned to a channel, the channel id.
init_value: Option<String>Trait Implementations§
Source§impl Clone for IRVariable
impl Clone for IRVariable
Source§fn clone(&self) -> IRVariable
fn clone(&self) -> IRVariable
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 IRVariable
impl RefUnwindSafe for IRVariable
impl Send for IRVariable
impl Sync for IRVariable
impl Unpin for IRVariable
impl UnsafeUnpin for IRVariable
impl UnwindSafe for IRVariable
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