Struct hdf5::FileBuilder [−][src]
pub struct FileBuilder { /* fields omitted */ }
Expand description
File builder allowing to customize file access/creation property lists.
Implementations
Opens a file as read-only, file must exist.
Opens a file as read/write, file must exist.
Creates a file, truncates if exists.
Creates a file, fails if exists.
Opens a file as read/write if exists, creates otherwise.
Opens a file in a given mode.
Sets current file access property list to a given one.
A short alias for set_access_plist()
.
Returns the builder object for the file access property list.
A short alias for access_plist()
.
pub fn with_access_plist<F>(&mut self, func: F) -> &mut Self where
F: Fn(&mut FileAccessBuilder) -> &mut FileAccessBuilder,
pub fn with_access_plist<F>(&mut self, func: F) -> &mut Self where
F: Fn(&mut FileAccessBuilder) -> &mut FileAccessBuilder,
Allows accessing the builder object for the file access property list.
pub fn with_fapl<F>(&mut self, func: F) -> &mut Self where
F: Fn(&mut FileAccessBuilder) -> &mut FileAccessBuilder,
pub fn with_fapl<F>(&mut self, func: F) -> &mut Self where
F: Fn(&mut FileAccessBuilder) -> &mut FileAccessBuilder,
A short alias for with_access_plist()
.
Sets current file creation property list to a given one.
A short alias for set_create_plist()
.
Returns the builder object for the file creation property list.
A short alias for create_plist()
.
pub fn with_create_plist<F>(&mut self, func: F) -> &mut Self where
F: Fn(&mut FileCreateBuilder) -> &mut FileCreateBuilder,
pub fn with_create_plist<F>(&mut self, func: F) -> &mut Self where
F: Fn(&mut FileCreateBuilder) -> &mut FileCreateBuilder,
Allows accessing the builder object for the file creation property list.
pub fn with_fcpl<F>(&mut self, func: F) -> &mut Self where
F: Fn(&mut FileCreateBuilder) -> &mut FileCreateBuilder,
pub fn with_fcpl<F>(&mut self, func: F) -> &mut Self where
F: Fn(&mut FileCreateBuilder) -> &mut FileCreateBuilder,
A short alias for with_create_plist()
.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for FileBuilder
impl Send for FileBuilder
impl Sync for FileBuilder
impl Unpin for FileBuilder
impl UnwindSafe for FileBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more