[−]Struct gio::IOStream
Trait Implementations
impl<T: IsA<Object>> PartialOrd<T> for IOStream
impl<T: IsA<Object>> PartialOrd<T> for IOStreamfn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for IOStream
impl Ord for IOStreamfn cmp(&self, other: &IOStream) -> Ordering
fn cmp(&self, other: &IOStream) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl<T: IsA<Object>> PartialEq<T> for IOStream
impl<T: IsA<Object>> PartialEq<T> for IOStreamfn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Clone for IOStream
impl Clone for IOStreamfn clone(&self) -> IOStream
fn clone(&self) -> IOStreamReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Eq for IOStream
impl Eq for IOStreamimpl Debug for IOStream
impl Debug for IOStreamimpl Hash for IOStream
impl Hash for IOStreamfn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl IsA<IOStream> for FileIOStream
impl IsA<IOStream> for FileIOStreamimpl IsA<Object> for IOStream
impl IsA<Object> for IOStreamimpl IsA<IOStream> for SocketConnection
impl IsA<IOStream> for SocketConnectionimpl IsA<IOStream> for TcpConnection
impl IsA<IOStream> for TcpConnectionimpl IsA<IOStream> for TlsClientConnection
impl IsA<IOStream> for TlsClientConnectionimpl IsA<IOStream> for TlsConnection
impl IsA<IOStream> for TlsConnectionimpl IsA<IOStream> for TlsServerConnection
impl IsA<IOStream> for TlsServerConnectionimpl StaticType for IOStream
impl StaticType for IOStreamfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, type Owned = T
fn to_owned(&self) -> T[src]
fn to_owned(&self) -> TCreates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)[src]
fn clone_into(&self, target: &mut T)🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, [src]
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)[src]
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)[src]
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)fn to_glib_full_from_slice(t: &[T]) -> *mut GList[src]
fn to_glib_full_from_slice(t: &[T]) -> *mut GListimpl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, [src]
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)[src]
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)[src]
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)fn to_glib_full_from_slice(_t: &[T]) -> *const GList[src]
fn to_glib_full_from_slice(_t: &[T]) -> *const GListimpl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, [src]
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)[src]
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)[src]
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)fn to_glib_full_from_slice(t: &[T]) -> *mut GArray[src]
fn to_glib_full_from_slice(t: &[T]) -> *mut GArrayimpl<T> Cast for T where
T: IsA<Object>, [src]
impl<T> Cast for T where
T: IsA<Object>, fn upcast<T>(self) -> T where
Self: IsA<T>,
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, [src]
fn upcast<T>(self) -> T where
Self: IsA<T>,
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, Upcasts an object to a superclass or interface T. Read more
fn upcast_ref<T>(&self) -> &T where
Self: IsA<T>,
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, [src]
fn upcast_ref<T>(&self) -> &T where
Self: IsA<T>,
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, Upcasts an object to a reference of its superclass or interface T. Read more
fn downcast<T>(self) -> Result<T, Self> where
Self: Downcast<T>, [src]
fn downcast<T>(self) -> Result<T, Self> where
Self: Downcast<T>, Tries to downcast to a subclass or interface implementor T. Read more
fn downcast_ref<T>(&self) -> Option<&T> where
Self: Downcast<T>, [src]
fn downcast_ref<T>(&self) -> Option<&T> where
Self: Downcast<T>, Tries to downcast to a reference of its subclass or interface implementor T. Read more
fn is<T>(&self) -> bool where
T: StaticType, [src]
fn is<T>(&self) -> bool where
T: StaticType, Returns true if the object is an instance of (can be cast to) T.
fn dynamic_cast<T>(self) -> Result<T, Self> where
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, [src]
fn dynamic_cast<T>(self) -> Result<T, Self> where
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while downcast and upcast will do many checks at compile-time already. Read more
fn dynamic_cast_ref<T>(&self) -> Option<&T> where
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, [src]
fn dynamic_cast_ref<T>(&self) -> Option<&T> where
T: StaticType + UnsafeFrom<ObjectRef> + Wrapper, Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while downcast and upcast will do many checks at compile-time already. Read more
impl<T> IsA for T where
T: StaticType + Wrapper + Into<ObjectRef> + UnsafeFrom<ObjectRef> + ToGlibPtr<'a, *mut <T as Wrapper>::GlibType>, [src]
impl<T> IsA for T where
T: StaticType + Wrapper + Into<ObjectRef> + UnsafeFrom<ObjectRef> + ToGlibPtr<'a, *mut <T as Wrapper>::GlibType>, impl<Super, Sub> Downcast for Super where
Sub: IsA<Super>,
Super: IsA<Super>, [src]
impl<Super, Sub> Downcast for Super where
Sub: IsA<Super>,
Super: IsA<Super>, fn can_downcast(&self) -> bool[src]
fn can_downcast(&self) -> boolChecks if it's possible to downcast to T. Read more
fn downcast(self) -> Result<Sub, Super>[src]
fn downcast(self) -> Result<Sub, Super>Tries to downcast to T. Read more
fn downcast_ref(&self) -> Option<&Sub>[src]
fn downcast_ref(&self) -> Option<&Sub>Tries to downcast to &T. Read more
unsafe fn downcast_unchecked(self) -> Sub[src]
unsafe fn downcast_unchecked(self) -> SubDowncasts to T unconditionally. Read more
unsafe fn downcast_ref_unchecked(&self) -> &Sub[src]
unsafe fn downcast_ref_unchecked(&self) -> &SubDowncasts to &T unconditionally. Read more
impl<T> ObjectExt for T where
T: IsA<Object> + SetValue, [src]
impl<T> ObjectExt for T where
T: IsA<Object> + SetValue, fn get_type(&self) -> Type[src]
fn get_type(&self) -> Typefn set_property<'a, N>(
&self,
property_name: N,
value: &dyn ToValue
) -> Result<(), BoolError> where
N: Into<&'a str>, [src]
fn set_property<'a, N>(
&self,
property_name: N,
value: &dyn ToValue
) -> Result<(), BoolError> where
N: Into<&'a str>, fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError> where
N: Into<&'a str>, [src]
fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError> where
N: Into<&'a str>, fn block_signal(&self, handler_id: &SignalHandlerId)[src]
fn block_signal(&self, handler_id: &SignalHandlerId)fn unblock_signal(&self, handler_id: &SignalHandlerId)[src]
fn unblock_signal(&self, handler_id: &SignalHandlerId)fn stop_signal_emission(&self, signal_name: &str)[src]
fn stop_signal_emission(&self, signal_name: &str)fn disconnect(&self, handler_id: SignalHandlerId)[src]
fn disconnect(&self, handler_id: SignalHandlerId)fn connect_notify<'a, P, F>(&self, name: P, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&T, &ParamSpec),
P: Into<Option<&'a str>>, [src]
fn connect_notify<'a, P, F>(&self, name: P, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&T, &ParamSpec),
P: Into<Option<&'a str>>, fn notify<'a, N>(&self, property_name: N) where
N: Into<&'a str>, [src]
fn notify<'a, N>(&self, property_name: N) where
N: Into<&'a str>, fn notify_by_pspec(&self, pspec: &ParamSpec)[src]
fn notify_by_pspec(&self, pspec: &ParamSpec)fn has_property<'a, N>(
&self,
property_name: N,
type_: Option<Type>
) -> Result<(), BoolError> where
N: Into<&'a str>, [src]
fn has_property<'a, N>(
&self,
property_name: N,
type_: Option<Type>
) -> Result<(), BoolError> where
N: Into<&'a str>, fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type> where
N: Into<&'a str>, [src]
fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type> where
N: Into<&'a str>, fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec> where
N: Into<&'a str>, [src]
fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec> where
N: Into<&'a str>, fn list_properties(&self) -> Vec<ParamSpec>[src]
fn list_properties(&self) -> Vec<ParamSpec>fn connect<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
N: Into<&'a str>, [src]
fn connect<'a, N, F>(
&self,
signal_name: N,
after: bool,
callback: F
) -> Result<SignalHandlerId, BoolError> where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
N: Into<&'a str>, fn emit<'a, N>(
&self,
signal_name: N,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>, [src]
fn emit<'a, N>(
&self,
signal_name: N,
args: &[&dyn ToValue]
) -> Result<Option<Value>, BoolError> where
N: Into<&'a str>, fn downgrade(&self) -> WeakRef<T>[src]
fn downgrade(&self) -> WeakRef<T>fn bind_property<'a, O, N, M>(
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a, T, O> where
M: Into<&'a str>,
N: Into<&'a str>,
O: IsA<Object>, [src]
fn bind_property<'a, O, N, M>(
&'a self,
source_property: N,
target: &'a O,
target_property: M
) -> BindingBuilder<'a, T, O> where
M: Into<&'a str>,
N: Into<&'a str>,
O: IsA<Object>, fn ref_count(&self) -> u32[src]
fn ref_count(&self) -> u32impl<T> ToValue for T where
T: SetValue + ?Sized, [src]
impl<T> ToValue for T where
T: SetValue + ?Sized,