pub struct ChangeOverlay {
pub generation: ResourceGeneration,
pub catalog_generation: ResourceGeneration,
pub index_generation: ResourceGeneration,
pub scope: String,
pub resources: Vec<ChangeResource>,
pub diagnostics: Vec<String>,
pub changed_symbols: Vec<SymbolId>,
pub changes: Vec<ChangeRecord>,
pub semantic: Option<Arc<SemanticReview>>,
}Fields§
§generation: ResourceGeneration§catalog_generation: ResourceGeneration§index_generation: ResourceGeneration§scope: String§resources: Vec<ChangeResource>§diagnostics: Vec<String>§changed_symbols: Vec<SymbolId>§changes: Vec<ChangeRecord>§semantic: Option<Arc<SemanticReview>>Implementations§
Source§impl ChangeOverlay
impl ChangeOverlay
pub fn new( generation: ResourceGeneration, catalog_generation: ResourceGeneration, index_generation: ResourceGeneration, changed_symbols: Vec<SymbolId>, ) -> Self
pub fn with_records( generation: ResourceGeneration, catalog_generation: ResourceGeneration, index_generation: ResourceGeneration, changes: Vec<ChangeRecord>, ) -> Self
pub fn from_report(report: ChangeOverlayReport) -> Self
Trait Implementations§
Source§impl Clone for ChangeOverlay
impl Clone for ChangeOverlay
Source§fn clone(&self) -> ChangeOverlay
fn clone(&self) -> ChangeOverlay
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 moreSource§impl Debug for ChangeOverlay
impl Debug for ChangeOverlay
impl Eq for ChangeOverlay
Source§impl PartialEq for ChangeOverlay
impl PartialEq for ChangeOverlay
impl StructuralPartialEq for ChangeOverlay
Auto Trait Implementations§
impl Freeze for ChangeOverlay
impl RefUnwindSafe for ChangeOverlay
impl Send for ChangeOverlay
impl Sync for ChangeOverlay
impl Unpin for ChangeOverlay
impl UnsafeUnpin for ChangeOverlay
impl UnwindSafe for ChangeOverlay
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more