pub struct MediaSource(/* private fields */);Expand description
See _cef_media_source_t for more documentation.
Trait Implementations§
Source§impl Clone for MediaSource
impl Clone for MediaSource
Source§fn clone(&self) -> MediaSource
fn clone(&self) -> MediaSource
Returns a duplicate 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 ConvertParam<*mut _cef_media_source_t> for &MediaSource
impl ConvertParam<*mut _cef_media_source_t> for &MediaSource
fn into_raw(self) -> *mut _cef_media_source_t
Source§impl ConvertParam<*mut _cef_media_source_t> for &mut MediaSource
impl ConvertParam<*mut _cef_media_source_t> for &mut MediaSource
fn into_raw(self) -> *mut _cef_media_source_t
Source§impl ConvertReturnValue<MediaSource> for *mut _cef_media_source_t
impl ConvertReturnValue<MediaSource> for *mut _cef_media_source_t
fn wrap_result(self) -> MediaSource
Source§impl From<MediaSource> for *mut _cef_media_source_t
impl From<MediaSource> for *mut _cef_media_source_t
Source§fn from(value: MediaSource) -> Self
fn from(value: MediaSource) -> Self
Converts to this type from the input type.
Source§impl ImplMediaSource for MediaSource
impl ImplMediaSource for MediaSource
Source§fn id(&self) -> CefStringUserfree
fn id(&self) -> CefStringUserfree
See
_cef_media_source_t::get_id for more documentation.Source§fn is_cast_source(&self) -> c_int
fn is_cast_source(&self) -> c_int
See
_cef_media_source_t::is_cast_source for more documentation.Source§fn is_dial_source(&self) -> c_int
fn is_dial_source(&self) -> c_int
See
_cef_media_source_t::is_dial_source for more documentation.fn get_raw(&self) -> *mut _cef_media_source_t
Source§impl Rc for MediaSource
impl Rc for MediaSource
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for MediaSource
impl RefUnwindSafe for MediaSource
impl Send for MediaSource
impl Sync for MediaSource
impl Unpin for MediaSource
impl UnwindSafe for MediaSource
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