pub struct PackageDecl {
pub name: String,
pub version: u32,
pub persistent_version: u32,
pub depends: Vec<String>,
}Expand description
Information about a registered package (for declaration files and tools).
Fields§
§name: StringThe name.
version: u32The version of the state slice.
persistent_version: u32The version of the persistent slice.
depends: Vec<String>The packages whose state this reads.
Trait Implementations§
Source§impl Clone for PackageDecl
impl Clone for PackageDecl
Source§impl Debug for PackageDecl
impl Debug for PackageDecl
impl Eq for PackageDecl
Source§impl PartialEq for PackageDecl
impl PartialEq for PackageDecl
impl StructuralPartialEq for PackageDecl
Auto Trait Implementations§
impl Forget for PackageDecl
impl Freeze for PackageDecl
impl Move for PackageDecl
impl RefUnwindSafe for PackageDecl
impl Send for PackageDecl
impl Sync for PackageDecl
impl Unpin for PackageDecl
impl UnsafeUnpin for PackageDecl
impl UnwindSafe for PackageDecl
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