[−][src]Struct document_tree::elements::Option_
Implementations
impl Option_
[src]
Trait Implementations
impl Clone for Option_
[src]
impl Debug for Option_
[src]
impl Default for Option_
[src]
impl Element for Option_
[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<Option_> for OptionGroup
[src]
fn with_children(children: Vec<Option_>) -> OptionGroup
[src]
fn children(&self) -> &Vec<Option_>
[src]
fn children_mut(&mut self) -> &mut Vec<Option_>
[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 HasChildren<SubOption> for Option_
[src]
fn with_children(children: Vec<SubOption>) -> Option_
[src]
fn children(&self) -> &Vec<SubOption>
[src]
fn children_mut(&mut self) -> &mut Vec<SubOption>
[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 PartialEq<Option_> for Option_
[src]
impl Serialize for Option_
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Option_
[src]
Auto Trait Implementations
impl RefUnwindSafe for Option_
impl Send for Option_
impl Sync for Option_
impl Unpin for Option_
impl UnwindSafe for Option_
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> 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.
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>,