pub struct RawSources {
pub schema_json: String,
pub has_docs: bool,
}Expand description
The raw file contents of a raw source, read by the host. from_sources operates purely over
these bytes (WASM-friendly); the native read_raw_dir convenience fills them from disk.
Fields§
§schema_json: String§has_docs: boolWhether docs/ exists under the raw source dir and contains at least one file.
Auto Trait Implementations§
impl Freeze for RawSources
impl RefUnwindSafe for RawSources
impl Send for RawSources
impl Sync for RawSources
impl Unpin for RawSources
impl UnsafeUnpin for RawSources
impl UnwindSafe for RawSources
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