Struct OverlaySpace
pub struct OverlaySpace { /* private fields */ }Expand description
A parsed search-space overlay: the schema plus the dotted config keys it tunes, in sorted-key order.
Implementations§
§impl OverlaySpace
impl OverlaySpace
pub fn policy(&self) -> &SpacePolicy
pub fn policy(&self) -> &SpacePolicy
The growth policy the overlay declared — empty when every spec is closed.
pub fn schema(&self) -> &SpaceSchema
pub fn schema(&self) -> &SpaceSchema
The lowered SpaceSchema.
pub fn into_schema(self) -> SpaceSchema
pub fn into_schema(self) -> SpaceSchema
Consumes the overlay, returning its owned schema.
Trait Implementations§
§impl Clone for OverlaySpace
impl Clone for OverlaySpace
§fn clone(&self) -> OverlaySpace
fn clone(&self) -> OverlaySpace
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 OverlaySpace
impl RefUnwindSafe for OverlaySpace
impl Send for OverlaySpace
impl Sync for OverlaySpace
impl Unpin for OverlaySpace
impl UnsafeUnpin for OverlaySpace
impl UnwindSafe for OverlaySpace
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