pub enum PackageFile {
Copy {
path: PathBuf,
},
Generate {
path: Option<PathBuf>,
},
}
Expand description
Where the file is from.
Variants§
Trait Implementations§
Source§impl Debug for PackageFile
impl Debug for PackageFile
Auto Trait Implementations§
impl Freeze for PackageFile
impl RefUnwindSafe for PackageFile
impl Send for PackageFile
impl Sync for PackageFile
impl Unpin for PackageFile
impl UnwindSafe for PackageFile
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> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes
Size for each variant:
Copy
: 24 bytesGenerate
: 24 bytes