pub struct FileDeps {
pub paths: BTreeSet<String>,
pub names: BTreeSet<String>,
pub folders: BTreeSet<String>,
pub loads_unknown: bool,
pub class_name: Option<String>,
pub uses: Vec<Use>,
}Expand description
What one file uses, read from its source.
Fields§
§paths: BTreeSet<String>res:// paths, and uid:// ids still to resolve.
names: BTreeSet<String>Names that may be a class_name or an autoload.
folders: BTreeSet<String>Folders it loads computed paths from: res://items/.
loads_unknown: boolIt loads a path the source does not tell.
class_name: Option<String>The class_name it declares.
uses: Vec<Use>Each thing it uses, with how and on which line it first does: the same as the sets above, told apart.
Trait Implementations§
impl Eq for FileDeps
impl StructuralPartialEq for FileDeps
Auto Trait Implementations§
impl Forget for FileDeps
impl Freeze for FileDepswhere
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Use>: Freeze,
impl Move for FileDeps
impl RefUnwindSafe for FileDeps
impl Send for FileDeps
impl Sync for FileDeps
impl Unpin for FileDeps
impl UnsafeUnpin for FileDepswhere
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Use>: UnsafeUnpin,
impl UnwindSafe for FileDeps
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