Enum semdoc::Block [−][src]
Variants
Text(String)
Implementations
impl<S: Source> Block<S>
[src]
pub fn to_molecule(&self) -> Molecule<S>
[src]
pub fn try_from(
kind: u64,
children: Vec<Molecule<S>>
) -> Result<Block<S>, BlockError>
[src]
kind: u64,
children: Vec<Molecule<S>>
) -> Result<Block<S>, BlockError>
pub fn from(molecule: &Molecule<S>) -> Block<S>
[src]
pub fn into_pure(self) -> Result<Block<Pure>, S::Error>
[src]
Trait Implementations
impl<S: Clone + Source> Clone for Block<S>
[src]
impl<S: Debug + Source> Debug for Block<S>
[src]
impl<S: Eq + Source> Eq for Block<S>
[src]
impl<S: PartialEq + Source> PartialEq<Block<S>> for Block<S>
[src]
impl<S: Source> StructuralEq for Block<S>
[src]
impl<S: Source> StructuralPartialEq for Block<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for Block<S> where
<S as Source>::Error: RefUnwindSafe,
<S as Source>::Error: RefUnwindSafe,
impl<S> Send for Block<S> where
<S as Source>::Error: Send,
<S as Source>::Error: Send,
impl<S> Sync for Block<S> where
<S as Source>::Error: Sync,
<S as Source>::Error: Sync,
impl<S> Unpin for Block<S> where
<S as Source>::Error: Unpin,
<S as Source>::Error: Unpin,
impl<S> UnwindSafe for Block<S> where
<S as Source>::Error: UnwindSafe,
<S as Source>::Error: UnwindSafe,
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>,