pub unsafe fn lib_header_from_raw_library(
    raw_library: &RawLibrary,
) -> Result<&'static LibHeader, LibraryError> {
    abi_header_from_raw_library(raw_library)?.upgrade()
}
/// Gets the LibHeader of a library.
///
/// # Errors
///
/// This will return these errors:
///
/// - `LibraryError::GetSymbolError`:
/// If the root module was not exported.
///
/// - `LibraryError::InvalidAbiHeader`:
/// If the abi_stable used by the library is not compatible.
///
/// # Safety
///
/// The LibHeader is implicitly tied to the lifetime of the library,
/// it will contain dangling `'static` references if the library is dropped before it does.
///
///
Gets the LibHeader of a library.
Gets the LibHeader of a library .
pub unsafe fn lib_header_from_raw_library(
    raw_library: &RawLibrary,
) -> Result<&'static LibHeader, LibraryError> {
    abi_header_from_raw_library(raw_library)?.upgrade()
}
pub unsafe fn lib_header_from_raw_library ( raw_library : & RawLibrary , ) -> Result < & ' static LibHeader , LibraryError > { abi_header_from_raw_library ( raw_library ) ? . upgrade ( ) }
Gets the LibHeader of a library.
Gets the LibHeader of a library .
raw_library
&RawLibrary
raw_library
&RawLibrary
errors
This will return these errors.

`LibraryError::GetSymbolError`:
If the root module was not exported.

`LibraryError::InvalidAbiHeader`:
If the abi_stable used by the library is not compatible.
This will return these errors . ` LibraryError :: GetSymbolError ` : If the root module was not exported . ` LibraryError :: InvalidAbiHeader ` : If the abi_stable used by the library is not compatible .
safety
The LibHeader is implicitly tied to the lifetime of the library,
it will contain dangling `'static` references if the library is dropped before it does.
The LibHeader is implicitly tied to the lifetime of the library it will contain dangling ` ' static ` references if the library is dropped before it does .