pub struct DescriptorSource {
pub layer: Layer,
pub path: String,
pub toml_src: String,
}Expand description
One descriptor source: its layer, a display path for error messages and provenance, and the raw TOML text.
Fields§
§layer: Layer§path: String§toml_src: StringTrait Implementations§
Source§impl Clone for DescriptorSource
impl Clone for DescriptorSource
Source§fn clone(&self) -> DescriptorSource
fn clone(&self) -> DescriptorSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DescriptorSource
impl RefUnwindSafe for DescriptorSource
impl Send for DescriptorSource
impl Sync for DescriptorSource
impl Unpin for DescriptorSource
impl UnsafeUnpin for DescriptorSource
impl UnwindSafe for DescriptorSource
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