pub struct SourceLoadOptions {
pub res_type: ResType,
pub max_include_depth: usize,
}Expand description
Options controlling source loading and include traversal.
Fields§
§res_type: ResTypeResource type requested from the source resolver.
max_include_depth: usizeMaximum recursive include depth.
Trait Implementations§
Source§impl Clone for SourceLoadOptions
impl Clone for SourceLoadOptions
Source§fn clone(&self) -> SourceLoadOptions
fn clone(&self) -> SourceLoadOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceLoadOptions
impl Debug for SourceLoadOptions
Source§impl Default for SourceLoadOptions
impl Default for SourceLoadOptions
Source§impl<'de> Deserialize<'de> for SourceLoadOptions
impl<'de> Deserialize<'de> for SourceLoadOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SourceLoadOptions
impl Hash for SourceLoadOptions
Source§impl PartialEq for SourceLoadOptions
impl PartialEq for SourceLoadOptions
Source§impl Serialize for SourceLoadOptions
impl Serialize for SourceLoadOptions
impl Copy for SourceLoadOptions
impl Eq for SourceLoadOptions
impl StructuralPartialEq for SourceLoadOptions
Auto Trait Implementations§
impl Freeze for SourceLoadOptions
impl RefUnwindSafe for SourceLoadOptions
impl Send for SourceLoadOptions
impl Sync for SourceLoadOptions
impl Unpin for SourceLoadOptions
impl UnsafeUnpin for SourceLoadOptions
impl UnwindSafe for SourceLoadOptions
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.