pub struct CreationFeatures {
pub filenames: BaseIsoLevel,
pub long_filenames: bool,
pub joliet: Option<JolietLevel>,
pub rock_ridge: Option<RripOptions>,
pub el_torito: Option<BootOptions>,
pub hybrid_boot: Option<HybridBootOptions>,
}Available on crate features
sync and write only.Expand description
Represents CreationFeatures.
Fields§
§filenames: BaseIsoLevelThe base Filename Level This only supports ASCII uppercase, numbers, and ‘_’ for compatibility reasons.
long_filenames: boolThe L3 Filename Level This supports filenames up to 207 characters, without using Joliet or Rock Ridge
joliet: Option<JolietLevel>The Joliet Extension for Unicode filenames
rock_ridge: Option<RripOptions>Rock Ridge extension options for POSIX filesystem semantics
el_torito: Option<BootOptions>El-Torito boot options (for CD/DVD boot)
hybrid_boot: Option<HybridBootOptions>Hybrid boot options (for USB/disk boot) Enables the ISO to be bootable when written directly to a USB drive.
Implementations§
Source§impl CreationFeatures
impl CreationFeatures
Sourcepub fn rock_ridge() -> Self
pub fn rock_ridge() -> Self
Create features with Rock Ridge enabled (default settings)
Sourcepub fn joliet(level: JolietLevel) -> Self
pub fn joliet(level: JolietLevel) -> Self
Create features with Joliet enabled
Sourcepub fn extensions() -> Self
pub fn extensions() -> Self
Create features with both Rock Ridge and Joliet enabled
Sourcepub fn hybrid_boot(scheme: PartitionScheme) -> Self
pub fn hybrid_boot(scheme: PartitionScheme) -> Self
Create features with hybrid boot enabled (MBR for USB boot)
Trait Implementations§
Source§impl Clone for CreationFeatures
impl Clone for CreationFeatures
Source§impl Debug for CreationFeatures
impl Debug for CreationFeatures
Auto Trait Implementations§
impl Freeze for CreationFeatures
impl RefUnwindSafe for CreationFeatures
impl Send for CreationFeatures
impl Sync for CreationFeatures
impl Unpin for CreationFeatures
impl UnsafeUnpin for CreationFeatures
impl UnwindSafe for CreationFeatures
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