pub enum PlacedFeatureRef {
Reference(PlacedFeatureEntryRef),
Inline(Box<PlacedFeatureData>),
}Expand description
A placed feature reference, either a registry entry or an inline placed feature.
Variants§
Reference(PlacedFeatureEntryRef)
Registry-backed placed feature.
Inline(Box<PlacedFeatureData>)
Inline placed feature.
Trait Implementations§
Source§impl Clone for PlacedFeatureRef
impl Clone for PlacedFeatureRef
Source§fn clone(&self) -> PlacedFeatureRef
fn clone(&self) -> PlacedFeatureRef
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 !RefUnwindSafe for PlacedFeatureRef
impl !UnwindSafe for PlacedFeatureRef
impl Freeze for PlacedFeatureRef
impl Send for PlacedFeatureRef
impl Sync for PlacedFeatureRef
impl Unpin for PlacedFeatureRef
impl UnsafeUnpin for PlacedFeatureRef
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