pub trait FTMLNode {
type Ancestors<'a>: Iterator<Item = Self>
where Self: 'a;
// Required methods
fn ancestors(&self) -> Self::Ancestors<'_>;
fn with_elements<R>(
&mut self,
f: impl FnMut(Option<&mut FTMLElements>) -> R,
) -> R;
fn delete(&self);
fn delete_children(&self);
fn range(&self) -> DocumentRange;
fn inner_range(&self) -> DocumentRange;
fn string(&self) -> String;
fn inner_string(&self) -> String;
fn as_notation(&self) -> Option<NotationSpec>;
fn as_op_notation(&self) -> Option<OpNotation>;
fn as_term(&self) -> Term;
}
Required Associated Types§
Required Methods§
fn ancestors(&self) -> Self::Ancestors<'_>
fn with_elements<R>( &mut self, f: impl FnMut(Option<&mut FTMLElements>) -> R, ) -> R
fn delete(&self)
fn delete_children(&self)
fn range(&self) -> DocumentRange
fn inner_range(&self) -> DocumentRange
fn string(&self) -> String
fn inner_string(&self) -> String
fn as_notation(&self) -> Option<NotationSpec>
fn as_op_notation(&self) -> Option<OpNotation>
fn as_term(&self) -> Term
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.