pub struct IRComponent {
pub node_type: &'static str,
pub source_line: u32,
pub source_column: u32,
pub name: String,
pub renders: String,
pub via_shield: String,
pub on_interact: String,
pub render_hint: String,
}Expand description
Compiled UI component — reusable fragment over a typed data source.
Fields§
§node_type: &'static str§source_line: u32§source_column: u32§name: String§renders: String§via_shield: String§on_interact: String§render_hint: StringTrait Implementations§
Source§impl Clone for IRComponent
impl Clone for IRComponent
Source§fn clone(&self) -> IRComponent
fn clone(&self) -> IRComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IRComponent
impl Debug for IRComponent
Source§impl Serialize for IRComponent
impl Serialize for IRComponent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for IRComponent
impl RefUnwindSafe for IRComponent
impl Send for IRComponent
impl Sync for IRComponent
impl Unpin for IRComponent
impl UnsafeUnpin for IRComponent
impl UnwindSafe for IRComponent
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