Struct gio::builders::DataOutputStreamBuilder
source · pub struct DataOutputStreamBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct DataOutputStream
objects.
Implementations§
source§impl DataOutputStreamBuilder
impl DataOutputStreamBuilder
sourcepub fn byte_order(self, byte_order: DataStreamByteOrder) -> Self
pub fn byte_order(self, byte_order: DataStreamByteOrder) -> Self
Determines the byte ordering that is used when writing multi-byte entities (such as integers) to the stream.
pub fn base_stream(self, base_stream: &impl IsA<OutputStream>) -> Self
pub fn close_base_stream(self, close_base_stream: bool) -> Self
sourcepub fn build(self) -> DataOutputStream
pub fn build(self) -> DataOutputStream
Build the DataOutputStream
.
Auto Trait Implementations§
impl RefUnwindSafe for DataOutputStreamBuilder
impl !Send for DataOutputStreamBuilder
impl !Sync for DataOutputStreamBuilder
impl Unpin for DataOutputStreamBuilder
impl UnwindSafe for DataOutputStreamBuilder
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