pub enum Element {
}
Variants
TextBlock(TextBlock)
Code(Code)
Image(Image)
Row(Row)
Column(Column)
IFrame(IFrame)
Input(Input)
Integer(Text)
Boolean(Text)
Decimal(Text)
Scene(Scene)
Grid(Grid)
Markup(Markups)
Null
Implementations
sourceimpl Element
impl Element
pub fn set_id(
children: &mut [Element],
index_vec: &[usize],
external_id: Option<String>
)
pub fn get_external_children_condition(
&self,
external_open_id: &Option<String>,
external_children_container: &[Vec<usize>]
) -> Vec<ExternalChildrenCondition>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn get_external_children_dependencies(
children: &[Element]
) -> ExternalChildrenDependenciesMap
pub fn get_event_dependencies(
children: &[Element],
data: &mut DataDependenciesMap
)
pub fn get_device_dependencies(
document: &Document,
data: &mut DataDependenciesMap
)
pub fn get_dark_mode_dependencies(
document: &Document,
data: &mut DataDependenciesMap
)
pub fn get_variable_dependencies(
document: &Document,
data: &mut DataDependenciesMap
)
pub fn is_open_container(&self, is_container_children_empty: bool) -> bool
pub fn append_at(&self) -> Option<String>
pub fn number_of_children(&self) -> usize
pub fn container_id(&self) -> Option<String>
pub fn set_container_id(&mut self, name: Option<String>)
pub fn set_element_id(&mut self, name: Option<String>)
pub fn set_condition(&mut self, condition: Option<Condition>)
pub fn set_non_visibility(&mut self, is_not_visible: bool)
pub fn set_events(&mut self, events: &mut Vec<Event>)
pub fn get_heading_region(&self) -> Option<&Region>
pub fn get_mut_common(&mut self) -> Option<&mut Common>
pub fn get_common(&self) -> Option<&Common>
pub fn get_container(&self) -> Option<&Container>
pub fn renest_on_region(elements: &mut Vec<Element>)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Element
impl<'de> Deserialize<'de> for Element
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Element> for Element
impl PartialEq<Element> for Element
impl StructuralPartialEq for Element
Auto Trait Implementations
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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