pub struct ResourceBundle(/* private fields */);Expand description
See _cef_resource_bundle_t for more documentation.
Trait Implementations§
Source§impl Clone for ResourceBundle
impl Clone for ResourceBundle
Source§impl ConvertParam<*mut _cef_resource_bundle_t> for &ResourceBundle
impl ConvertParam<*mut _cef_resource_bundle_t> for &ResourceBundle
fn into_raw(self) -> *mut _cef_resource_bundle_t
Source§impl ConvertParam<*mut _cef_resource_bundle_t> for &mut ResourceBundle
impl ConvertParam<*mut _cef_resource_bundle_t> for &mut ResourceBundle
fn into_raw(self) -> *mut _cef_resource_bundle_t
Source§impl ConvertReturnValue<ResourceBundle> for *mut _cef_resource_bundle_t
impl ConvertReturnValue<ResourceBundle> for *mut _cef_resource_bundle_t
fn wrap_result(self) -> ResourceBundle
Source§impl From<ResourceBundle> for *mut _cef_resource_bundle_t
impl From<ResourceBundle> for *mut _cef_resource_bundle_t
Source§fn from(value: ResourceBundle) -> Self
fn from(value: ResourceBundle) -> Self
Converts to this type from the input type.
Source§impl ImplResourceBundle for ResourceBundle
impl ImplResourceBundle for ResourceBundle
Source§fn localized_string(&self, string_id: c_int) -> CefStringUserfree
fn localized_string(&self, string_id: c_int) -> CefStringUserfree
See
_cef_resource_bundle_t::get_localized_string for more documentation.Source§fn data_resource(&self, resource_id: c_int) -> Option<BinaryValue>
fn data_resource(&self, resource_id: c_int) -> Option<BinaryValue>
See
_cef_resource_bundle_t::get_data_resource for more documentation.Source§fn data_resource_for_scale(
&self,
resource_id: c_int,
scale_factor: ScaleFactor,
) -> Option<BinaryValue>
fn data_resource_for_scale( &self, resource_id: c_int, scale_factor: ScaleFactor, ) -> Option<BinaryValue>
See
_cef_resource_bundle_t::get_data_resource_for_scale for more documentation.fn get_raw(&self) -> *mut _cef_resource_bundle_t
Source§impl Rc for ResourceBundle
impl Rc for ResourceBundle
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 ResourceBundle
impl RefUnwindSafe for ResourceBundle
impl Send for ResourceBundle
impl Sync for ResourceBundle
impl Unpin for ResourceBundle
impl UnsafeUnpin for ResourceBundle
impl UnwindSafe for ResourceBundle
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