pub struct PlannedSourceFile { /* private fields */ }Expand description
One local file selected by a bundle plan.
Deliberately not serializable: local absolute paths must not cross the remote protocol boundary.
Implementations§
Source§impl PlannedSourceFile
impl PlannedSourceFile
Sourcepub fn source_path(&self) -> &Utf8Path
pub fn source_path(&self) -> &Utf8Path
Return the local canonical source path.
Sourcepub fn bundle_path(&self) -> &Utf8Path
pub fn bundle_path(&self) -> &Utf8Path
Return the portable workspace-relative bundle path.
Trait Implementations§
Source§impl Clone for PlannedSourceFile
impl Clone for PlannedSourceFile
Source§impl Debug for PlannedSourceFile
impl Debug for PlannedSourceFile
impl Eq for PlannedSourceFile
Source§impl PartialEq for PlannedSourceFile
impl PartialEq for PlannedSourceFile
impl StructuralPartialEq for PlannedSourceFile
Auto Trait Implementations§
impl Freeze for PlannedSourceFile
impl RefUnwindSafe for PlannedSourceFile
impl Send for PlannedSourceFile
impl Sync for PlannedSourceFile
impl Unpin for PlannedSourceFile
impl UnsafeUnpin for PlannedSourceFile
impl UnwindSafe for PlannedSourceFile
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.