Skip to main content

Loaded

Struct Loaded 

Source
pub struct Loaded {
    pub corpus: Corpus,
    pub graph: Graph,
}
Expand description

A remote repository read from disk: its corpus and graph.

Fields§

§corpus: Corpus§graph: Graph

Auto Trait Implementations§

§

impl Forget for Loaded

§

impl Freeze for Loaded

§

impl Move for Loaded

§

impl RefUnwindSafe for Loaded

§

impl Send for Loaded
where RawVecInner: Send, NodeRef<Owned, String, String, LeafOrInternal>: Send, BoxRaw<(String, String)>: Send, NodeRef<Owned, String, ExternalRoot, LeafOrInternal>: Send, BoxRaw<(String, ExternalRoot)>: Send, NodeRef<Owned, String, RemoteRoot, LeafOrInternal>: Send, BoxRaw<(String, RemoteRoot)>: Send, NodeRef<Owned, String, TypeOverride, LeafOrInternal>: Send, BoxRaw<(String, TypeOverride)>: Send, NodeRef<Owned, String, BudgetLimit, LeafOrInternal>: Send, BoxRaw<(String, BudgetLimit)>: Send, NodeRef<Owned, String, Vec<String>, LeafOrInternal>: Send, BoxRaw<(String, Vec<String>)>: Send, NodeRef<Owned, String, FieldKind, LeafOrInternal>: Send, BoxRaw<(String, FieldKind)>: Send, Arc<TrackedSet>: Send, Arc<RegexI>: Send, BoxRaw<Pool<Cache, Box<dyn Fn() -> Cache + Sync + Send + UnwindSafe + RefUnwindSafe>>>: Send, RawTable<usize>: Send, RawTable<(String, usize)>: Send, RawTable<(String, Vec<usize>)>: Send, RawTable<(String, ())>: Send,

§

impl Sync for Loaded
where RawVecInner: Sync, NodeRef<Owned, String, String, LeafOrInternal>: Sync, BoxRaw<(String, String)>: Sync, NodeRef<Owned, String, ExternalRoot, LeafOrInternal>: Sync, BoxRaw<(String, ExternalRoot)>: Sync, NodeRef<Owned, String, RemoteRoot, LeafOrInternal>: Sync, BoxRaw<(String, RemoteRoot)>: Sync, NodeRef<Owned, String, TypeOverride, LeafOrInternal>: Sync, BoxRaw<(String, TypeOverride)>: Sync, NodeRef<Owned, String, BudgetLimit, LeafOrInternal>: Sync, BoxRaw<(String, BudgetLimit)>: Sync, NodeRef<Owned, String, Vec<String>, LeafOrInternal>: Sync, BoxRaw<(String, Vec<String>)>: Sync, NodeRef<Owned, String, FieldKind, LeafOrInternal>: Sync, BoxRaw<(String, FieldKind)>: Sync, Arc<TrackedSet>: Sync, Arc<RegexI>: Sync, BoxRaw<Pool<Cache, Box<dyn Fn() -> Cache + Sync + Send + UnwindSafe + RefUnwindSafe>>>: Sync, RawTable<usize>: Sync, RawTable<(String, usize)>: Sync, RawTable<(String, Vec<usize>)>: Sync, RawTable<(String, ())>: Sync,

§

impl Unpin for Loaded
where *const u8 is !null: Unpin, *const LeafNode<String, String> is !null: Unpin, Box<(String, String)>: Unpin, *const LeafNode<String, ExternalRoot> is !null: Unpin, Box<(String, ExternalRoot)>: Unpin, *const LeafNode<String, RemoteRoot> is !null: Unpin, Box<(String, RemoteRoot)>: Unpin, *const LeafNode<String, TypeOverride> is !null: Unpin, Box<(String, TypeOverride)>: Unpin, *const LeafNode<String, BudgetLimit> is !null: Unpin, Box<(String, BudgetLimit)>: Unpin, *const LeafNode<String, Vec<String>> is !null: Unpin, Box<(String, Vec<String>)>: Unpin, *const LeafNode<String, FieldKind> is !null: Unpin, Box<(String, FieldKind)>: Unpin, Arc<TrackedSet>: Unpin, Arc<RegexI>: Unpin, Box<Pool<Cache, Box<dyn Fn() -> Cache + Sync + Send + UnwindSafe + RefUnwindSafe>>>: Unpin,

§

impl UnsafeUnpin for Loaded
where *const u8 is !null: UnsafeUnpin, PhantomData<u8>: UnsafeUnpin, PhantomData<OwnerKind>: UnsafeUnpin, PhantomData<String>: UnsafeUnpin, *const LeafNode<String, String> is !null: UnsafeUnpin, PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin, PhantomData<Box<(String, String)>>: UnsafeUnpin, *const LeafNode<String, ExternalRoot> is !null: UnsafeUnpin, PhantomData<Box<(String, ExternalRoot)>>: UnsafeUnpin, *const LeafNode<String, RemoteRoot> is !null: UnsafeUnpin, PhantomData<Box<(String, RemoteRoot)>>: UnsafeUnpin, *const LeafNode<String, TypeOverride> is !null: UnsafeUnpin, PhantomData<Box<(String, TypeOverride)>>: UnsafeUnpin, PhantomData<GuardDef>: UnsafeUnpin, PhantomData<PluginDef>: UnsafeUnpin, PhantomData<CheckOverride>: UnsafeUnpin, PhantomData<AssetRoot>: UnsafeUnpin, *const LeafNode<String, BudgetLimit> is !null: UnsafeUnpin, PhantomData<Box<(String, BudgetLimit)>>: UnsafeUnpin, PhantomData<TypeDef>: UnsafeUnpin, *const ArcInner<TrackedSet> is !null: UnsafeUnpin, PhantomData<ArcInner<TrackedSet>>: UnsafeUnpin, PhantomData<Owner>: UnsafeUnpin, PhantomData<PathMatch>: UnsafeUnpin, PhantomData<SpecRoot>: UnsafeUnpin, PhantomData<Doc>: UnsafeUnpin, PhantomData<Stray>: UnsafeUnpin, *const LeafNode<String, Vec<String>> is !null: UnsafeUnpin, PhantomData<Box<(String, Vec<String>)>>: UnsafeUnpin, PhantomData<(String, usize)>: UnsafeUnpin, PhantomData<(String, Vec<usize>)>: UnsafeUnpin, PhantomData<HashSet<String>>: UnsafeUnpin, PhantomData<Edge>: UnsafeUnpin, PhantomData<Vec<usize>>: UnsafeUnpin,

§

impl UnwindSafe for Loaded

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.