pub struct PackageFormatHint {
pub roles: Vec<ExportRole>,
pub file_path: Option<String>,
pub exports: Vec<String>,
}Fields§
§roles: Vec<ExportRole>§file_path: Option<String>§exports: Vec<String>Export names that must stay explicit after migration when a role is ambiguous.
Trait Implementations§
Source§impl Clone for PackageFormatHint
impl Clone for PackageFormatHint
Source§fn clone(&self) -> PackageFormatHint
fn clone(&self) -> PackageFormatHint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PackageFormatHint
impl Debug for PackageFormatHint
Source§impl Default for PackageFormatHint
impl Default for PackageFormatHint
Source§fn default() -> PackageFormatHint
fn default() -> PackageFormatHint
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PackageFormatHint
impl RefUnwindSafe for PackageFormatHint
impl Send for PackageFormatHint
impl Sync for PackageFormatHint
impl Unpin for PackageFormatHint
impl UnsafeUnpin for PackageFormatHint
impl UnwindSafe for PackageFormatHint
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