Trait ux::prelude::DataInputStreamExt[]

pub trait DataInputStreamExt: 'static {
Show methods pub fn get_byte_order(&self) -> DataStreamByteOrder;
pub fn get_newline_type(&self) -> DataStreamNewlineType;
pub fn read_byte<P>(&self, cancellable: Option<&P>) -> Result<u8, Error>
    where
        P: IsA<Cancellable>
;
pub fn read_int16<P>(&self, cancellable: Option<&P>) -> Result<i16, Error>
    where
        P: IsA<Cancellable>
;
pub fn read_int32<P>(&self, cancellable: Option<&P>) -> Result<i32, Error>
    where
        P: IsA<Cancellable>
;
pub fn read_int64<P>(&self, cancellable: Option<&P>) -> Result<i64, Error>
    where
        P: IsA<Cancellable>
;
pub fn read_uint16<P>(&self, cancellable: Option<&P>) -> Result<u16, Error>
    where
        P: IsA<Cancellable>
;
pub fn read_uint32<P>(&self, cancellable: Option<&P>) -> Result<u32, Error>
    where
        P: IsA<Cancellable>
;
pub fn read_uint64<P>(&self, cancellable: Option<&P>) -> Result<u64, Error>
    where
        P: IsA<Cancellable>
;
pub fn set_byte_order(&self, order: DataStreamByteOrder);
pub fn set_newline_type(&self, type_: DataStreamNewlineType);
pub fn connect_property_byte_order_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_newline_type_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
}

Required methods

pub fn get_byte_order(&self) -> DataStreamByteOrder

pub fn get_newline_type(&self) -> DataStreamNewlineType

pub fn read_byte<P>(&self, cancellable: Option<&P>) -> Result<u8, Error> where
    P: IsA<Cancellable>, 

pub fn read_int16<P>(&self, cancellable: Option<&P>) -> Result<i16, Error> where
    P: IsA<Cancellable>, 

pub fn read_int32<P>(&self, cancellable: Option<&P>) -> Result<i32, Error> where
    P: IsA<Cancellable>, 

pub fn read_int64<P>(&self, cancellable: Option<&P>) -> Result<i64, Error> where
    P: IsA<Cancellable>, 

pub fn read_uint16<P>(&self, cancellable: Option<&P>) -> Result<u16, Error> where
    P: IsA<Cancellable>, 

pub fn read_uint32<P>(&self, cancellable: Option<&P>) -> Result<u32, Error> where
    P: IsA<Cancellable>, 

pub fn read_uint64<P>(&self, cancellable: Option<&P>) -> Result<u64, Error> where
    P: IsA<Cancellable>, 

pub fn set_byte_order(&self, order: DataStreamByteOrder)

pub fn set_newline_type(&self, type_: DataStreamNewlineType)

pub fn connect_property_byte_order_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_property_newline_type_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

Loading content...

Implementors

impl<O> DataInputStreamExt for O where
    O: IsA<DataInputStream>, 

Loading content...