#[repr(C)]pub struct SoupContentSnifferClass {
pub parent_class: GObjectClass,
pub sniff: Option<unsafe extern "C" fn(_: *mut SoupContentSniffer, _: *mut SoupMessage, _: *mut SoupBuffer, _: *mut *mut GHashTable) -> *mut c_char>,
pub get_buffer_size: Option<unsafe extern "C" fn(_: *mut SoupContentSniffer) -> size_t>,
pub _libsoup_reserved1: Option<unsafe extern "C" fn()>,
pub _libsoup_reserved2: Option<unsafe extern "C" fn()>,
pub _libsoup_reserved3: Option<unsafe extern "C" fn()>,
pub _libsoup_reserved4: Option<unsafe extern "C" fn()>,
pub _libsoup_reserved5: Option<unsafe extern "C" fn()>,
}
Fields§
§parent_class: GObjectClass
§sniff: Option<unsafe extern "C" fn(_: *mut SoupContentSniffer, _: *mut SoupMessage, _: *mut SoupBuffer, _: *mut *mut GHashTable) -> *mut c_char>
§get_buffer_size: Option<unsafe extern "C" fn(_: *mut SoupContentSniffer) -> size_t>
§_libsoup_reserved1: Option<unsafe extern "C" fn()>
§_libsoup_reserved2: Option<unsafe extern "C" fn()>
§_libsoup_reserved3: Option<unsafe extern "C" fn()>
§_libsoup_reserved4: Option<unsafe extern "C" fn()>
§_libsoup_reserved5: Option<unsafe extern "C" fn()>
Trait Implementations§
Source§impl Clone for SoupContentSnifferClass
impl Clone for SoupContentSnifferClass
Source§fn clone(&self) -> SoupContentSnifferClass
fn clone(&self) -> SoupContentSnifferClass
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SoupContentSnifferClass
impl Debug for SoupContentSnifferClass
impl Copy for SoupContentSnifferClass
Auto Trait Implementations§
impl Freeze for SoupContentSnifferClass
impl RefUnwindSafe for SoupContentSnifferClass
impl !Send for SoupContentSnifferClass
impl !Sync for SoupContentSnifferClass
impl Unpin for SoupContentSnifferClass
impl UnwindSafe for SoupContentSnifferClass
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