pub struct SourceItem {
pub entry: SourceEntry,
pub content: String,
}Expand description
A hydrated member: the entry plus its bytes.
Fields§
§entry: SourceEntry§content: StringThe engine hashes this itself (§5).
Implementations§
Trait Implementations§
Source§impl Clone for SourceItem
impl Clone for SourceItem
Source§impl Debug for SourceItem
impl Debug for SourceItem
impl Eq for SourceItem
Source§impl PartialEq for SourceItem
impl PartialEq for SourceItem
impl StructuralPartialEq for SourceItem
Auto Trait Implementations§
impl Freeze for SourceItem
impl RefUnwindSafe for SourceItem
impl Send for SourceItem
impl Sync for SourceItem
impl Unpin for SourceItem
impl UnsafeUnpin for SourceItem
impl UnwindSafe for SourceItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.