pub enum BaseInstanceMergeKind {
Object(ObjectShapeId),
Intersection(Vec<TypeId>),
Union(Vec<TypeId>),
Other,
}Expand description
Classification for merging base instance properties.
Variants§
Object(ObjectShapeId)
Object type with shape
Intersection(Vec<TypeId>)
Intersection - merge all members
Union(Vec<TypeId>)
Union - find common properties
Other
Not mergeable
Trait Implementations§
Source§impl Clone for BaseInstanceMergeKind
impl Clone for BaseInstanceMergeKind
Source§fn clone(&self) -> BaseInstanceMergeKind
fn clone(&self) -> BaseInstanceMergeKind
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 moreAuto Trait Implementations§
impl Freeze for BaseInstanceMergeKind
impl RefUnwindSafe for BaseInstanceMergeKind
impl Send for BaseInstanceMergeKind
impl Sync for BaseInstanceMergeKind
impl Unpin for BaseInstanceMergeKind
impl UnsafeUnpin for BaseInstanceMergeKind
impl UnwindSafe for BaseInstanceMergeKind
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