Struct fuchsia_pkg::PackageManifestList
source · 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§fn eq(&self, other: &PackageManifestList) -> bool
fn eq(&self, other: &PackageManifestList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)