Struct semdoc::SemDoc [−][src]
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,
<S as Source>::Error: RefUnwindSafe,
impl<S> Send for SemDoc<S> where
<S as Source>::Error: Send,
<S as Source>::Error: Send,
impl<S> Sync for SemDoc<S> where
<S as Source>::Error: Sync,
<S as Source>::Error: Sync,
impl<S> Unpin for SemDoc<S> where
<S as Source>::Error: Unpin,
<S as Source>::Error: Unpin,
impl<S> UnwindSafe for SemDoc<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>,