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§
Source§impl 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>
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§
Source§impl<'de> Deserialize<'de> for Element
impl<'de> Deserialize<'de> for Element
Source§fn 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
impl StructuralPartialEq for Element
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more