[][src]Struct qt_core::q_library::LoadHint

#[repr(transparent)]
pub struct LoadHint(_);

This enum describes the possible hints that can be used to change the way libraries are handled when they are loaded. These values indicate how symbols are resolved when libraries are loaded, and are specified using the setLoadHints() function.

C++ enum: QLibrary::LoadHint.

C++ documentation:

This enum describes the possible hints that can be used to change the way libraries are handled when they are loaded. These values indicate how symbols are resolved when libraries are loaded, and are specified using the setLoadHints() function.

The LoadHints type is a typedef for QFlags<LoadHint>. It stores an OR combination of LoadHint values.

See also loadHints.

Methods

impl LoadHint[src]

pub fn to_int(&self) -> c_int[src]

impl LoadHint[src]

pub const ResolveAllSymbolsHint: LoadHint[src]

Causes all symbols in a library to be resolved when it is loaded, not simply when resolve() is called. (C++ enum variant: ResolveAllSymbolsHint = 1)

pub const ExportExternalSymbolsHint: LoadHint[src]

Exports unresolved and external symbols in the library so that they can be resolved in other dynamically-loaded libraries loaded later. (C++ enum variant: ExportExternalSymbolsHint = 2)

pub const LoadArchiveMemberHint: LoadHint[src]

Allows the file name of the library to specify a particular object file within an archive file. If this hint is given, the filename of the library consists of a path, which is a reference to an archive file, followed by a reference to the archive member. (C++ enum variant: LoadArchiveMemberHint = 4)

pub const PreventUnloadHint: LoadHint[src]

Prevents the library from being unloaded from the address space if close() is called. The library's static variables are not reinitialized if open() is called at a later time. (C++ enum variant: PreventUnloadHint = 8)

pub const DeepBindHint: LoadHint[src]

Instructs the linker to prefer definitions in the loaded library over exported definitions in the loading application when resolving external symbols in the loaded library. This option is only supported on Linux. (C++ enum variant: DeepBindHint = 16)

Trait Implementations

impl From<i32> for LoadHint[src]

impl From<LoadHint> for c_int[src]

impl From<LoadHint> for QFlags<LoadHint>[src]

impl Clone for LoadHint[src]

impl Copy for LoadHint[src]

impl Eq for LoadHint[src]

impl PartialEq<LoadHint> for LoadHint[src]

impl Debug for LoadHint[src]

impl<T: Into<QFlags<LoadHint>>> BitOr<T> for LoadHint[src]

type Output = QFlags<LoadHint>

The resulting type after applying the | operator.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]