Sha256: 7800b7cbc8a12bc95866cd79f1bdacfeb97809476180a90137762c92672c8a46
Contents?: true
Size: 509 Bytes
Versions: 13
Compression:
Stored size: 509 Bytes
Contents
#[derive(Debug, Clone)] pub(crate) struct ImplOpenOptionsExt { pub(crate) mode: u32, pub(crate) custom_flags: i32, } impl ImplOpenOptionsExt { pub(crate) const fn new() -> Self { Self { mode: 0o666, custom_flags: 0, } } pub(crate) fn mode(&mut self, mode: u32) -> &mut Self { self.mode = mode; self } pub(crate) fn custom_flags(&mut self, flags: i32) -> &mut Self { self.custom_flags = flags; self } }
Version data entries
13 entries across 13 versions & 1 rubygems