[−][src]Struct document_tree::elements::Title
Methods
impl Title
[src]
pub fn new(
common: CommonAttributes,
children: Vec<TextOrInlineElement>
) -> Title
[src]
common: CommonAttributes,
children: Vec<TextOrInlineElement>
) -> Title
Trait Implementations
impl Clone for Title
[src]
impl Debug for Title
[src]
impl Default for Title
[src]
impl Element for Title
[src]
fn ids(&self) -> &Vec<ID>
[src]
fn ids_mut(&mut self) -> &mut Vec<ID>
[src]
fn names(&self) -> &Vec<NameToken>
[src]
fn names_mut(&mut self) -> &mut Vec<NameToken>
[src]
fn source(&self) -> &Option<PathBuf>
[src]
fn source_mut(&mut self) -> &mut Option<PathBuf>
[src]
fn classes(&self) -> &Vec<String>
[src]
fn classes_mut(&mut self) -> &mut Vec<String>
[src]
impl HasChildren<TextOrInlineElement> for Title
[src]
fn with_children(children: Vec<TextOrInlineElement>) -> Title
[src]
fn children(&self) -> &Vec<TextOrInlineElement>
[src]
fn children_mut(&mut self) -> &mut Vec<TextOrInlineElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl Into<StructuralSubElement> for Title
[src]
fn into(self) -> StructuralSubElement
[src]
impl Into<SubSidebar> for Title
[src]
fn into(self) -> SubSidebar
[src]
impl Into<SubTable> for Title
[src]
impl Into<SubTopic> for Title
[src]
impl PartialEq<Title> for Title
[src]
impl Serialize for Title
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Title
[src]
Auto Trait Implementations
impl RefUnwindSafe for Title
impl Send for Title
impl Sync for Title
impl Unpin for Title
impl UnwindSafe for Title
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,