Struct ftml::tree::SyntaxTree [−][src]
Fields
elements: Vec<Element<'t>>
The list of elements that compose this tree.
Note that each Element<'t>
can contain other elements within it,
and these as well, etc. This structure composes the depth of the
syntax tree.
styles: Vec<Cow<'t, str>>
The list of CSS styles added in this page, in order.
How the renderer decides to consume these is up to the implementation, however the recommendation is to combine them all into one large style rule list.
Trait Implementations
impl<'t> Clone for SyntaxTree<'t>
[src]
fn clone(&self) -> SyntaxTree<'t>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'t> Debug for SyntaxTree<'t>
[src]
impl<'t> Default for SyntaxTree<'t>
[src]
fn default() -> SyntaxTree<'t>
[src]
impl<'de, 't> Deserialize<'de> for SyntaxTree<'t>
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'t> Eq for SyntaxTree<'t>
[src]
impl<'t> PartialEq<SyntaxTree<'t>> for SyntaxTree<'t>
[src]
fn eq(&self, other: &SyntaxTree<'t>) -> bool
[src]
fn ne(&self, other: &SyntaxTree<'t>) -> bool
[src]
impl<'t> Serialize for SyntaxTree<'t>
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'t> StructuralEq for SyntaxTree<'t>
[src]
impl<'t> StructuralPartialEq for SyntaxTree<'t>
[src]
Auto Trait Implementations
impl<'t> RefUnwindSafe for SyntaxTree<'t>
[src]
impl<'t> Send for SyntaxTree<'t>
[src]
impl<'t> Sync for SyntaxTree<'t>
[src]
impl<'t> Unpin for SyntaxTree<'t>
[src]
impl<'t> UnwindSafe for SyntaxTree<'t>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,