#[non_exhaustive]pub struct RouteEntry {
pub path: PathBuf,
pub is_dir: bool,
pub is_symlink: bool,
}Expand description
One entry found directly inside a namespaced install route, as input to
plan_delisted_from.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: PathBufThe entry’s path relative to the install root, e.g.
BepInEx/plugins/Owner-Mod.
is_dir: boolWhether the entry is a directory, without following a symlink.
is_symlink: boolWhether the entry is a symlink.
Implementations§
Source§impl RouteEntry
impl RouteEntry
Trait Implementations§
Source§impl Clone for RouteEntry
impl Clone for RouteEntry
Source§impl Debug for RouteEntry
impl Debug for RouteEntry
impl Eq for RouteEntry
Source§impl PartialEq for RouteEntry
impl PartialEq for RouteEntry
impl StructuralPartialEq for RouteEntry
Auto Trait Implementations§
impl Forget for RouteEntry
impl Freeze for RouteEntry
impl Move for RouteEntry
impl RefUnwindSafe for RouteEntry
impl Send for RouteEntry
impl Sync for RouteEntry
impl Unpin for RouteEntry
impl UnsafeUnpin for RouteEntry
impl UnwindSafe for RouteEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.