Struct semdoc::SemDoc[][src]

pub struct SemDoc<S: Source> {
    pub block: Block<S>,
}

Fields

block: Block<S>

Implementations

impl<S: Source> SemDoc<S>[src]

pub fn new(block: Block<S>) -> Self[src]

pub fn to_bytes(&self) -> Vec<u8>[src]

pub fn into_pure(self) -> Result<SemDoc<Pure>, S::Error>[src]

impl SemDoc<Memory>[src]

pub fn from_bytes(bytes: &[u8]) -> Result<Self, SemDocError>[src]

Trait Implementations

impl<S: Clone + Source> Clone for SemDoc<S>[src]

impl<S: Debug + Source> Debug for SemDoc<S>[src]

impl<S: Eq + Source> Eq for SemDoc<S>[src]

impl<S: PartialEq + Source> PartialEq<SemDoc<S>> for SemDoc<S>[src]

impl<S: Source> StructuralEq for SemDoc<S>[src]

impl<S: Source> StructuralPartialEq for SemDoc<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for SemDoc<S> where
    <S as Source>::Error: RefUnwindSafe

impl<S> Send for SemDoc<S> where
    <S as Source>::Error: Send

impl<S> Sync for SemDoc<S> where
    <S as Source>::Error: Sync

impl<S> Unpin for SemDoc<S> where
    <S as Source>::Error: Unpin

impl<S> UnwindSafe for SemDoc<S> where
    <S as Source>::Error: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.