pub struct PackageManifestList(/* private fields */);
Expand description
PackageManifestList is a construct that points at a path that contains a package manifest list. This will be used by the packaging tooling to understand when packages have changed.
Implementations§
Source§impl PackageManifestList
impl PackageManifestList
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct a new PackageManifestList.
Sourcepub fn push(&mut self, package_manifest_path: Utf8PathBuf)
pub fn push(&mut self, package_manifest_path: Utf8PathBuf)
Push a package manifest path to the end of the PackageManifestList.
pub fn from_reader( manifest_list_path: &Utf8Path, reader: impl Read, ) -> Result<Self>
pub fn write_with_relative_paths(self, path: &Utf8Path) -> Result<Self>
Trait Implementations§
Source§impl Clone for PackageManifestList
impl Clone for PackageManifestList
Source§fn clone(&self) -> PackageManifestList
fn clone(&self) -> PackageManifestList
Returns a copy of the value. Read more
1.0.0 · 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 PackageManifestList
impl Debug for PackageManifestList
Source§impl From<PackageManifestList> for Vec<Utf8PathBuf>
impl From<PackageManifestList> for Vec<Utf8PathBuf>
Source§fn from(package_manifest_list: PackageManifestList) -> Self
fn from(package_manifest_list: PackageManifestList) -> Self
Converts to this type from the input type.
Source§impl From<Vec<Utf8PathBuf>> for PackageManifestList
impl From<Vec<Utf8PathBuf>> for PackageManifestList
Source§impl FromIterator<Utf8PathBuf> for PackageManifestList
impl FromIterator<Utf8PathBuf> for PackageManifestList
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = Utf8PathBuf>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = Utf8PathBuf>,
Creates a value from an iterator. Read more
Source§impl IntoIterator for PackageManifestList
impl IntoIterator for PackageManifestList
Source§impl PartialEq for PackageManifestList
impl PartialEq for PackageManifestList
Source§impl Serialize for PackageManifestList
impl Serialize for PackageManifestList
impl Eq for PackageManifestList
impl StructuralPartialEq for PackageManifestList
Auto Trait Implementations§
impl Freeze for PackageManifestList
impl RefUnwindSafe for PackageManifestList
impl Send for PackageManifestList
impl Sync for PackageManifestList
impl Unpin for PackageManifestList
impl UnwindSafe for PackageManifestList
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)