pub struct Layout(/* private fields */);Expand description
See _cef_layout_t for more documentation.
Trait Implementations§
Source§impl ConvertParam<*mut _cef_layout_t> for &Layout
impl ConvertParam<*mut _cef_layout_t> for &Layout
fn into_raw(self) -> *mut _cef_layout_t
Source§impl ConvertParam<*mut _cef_layout_t> for &mut Layout
impl ConvertParam<*mut _cef_layout_t> for &mut Layout
fn into_raw(self) -> *mut _cef_layout_t
Source§impl ConvertReturnValue<Layout> for *mut _cef_layout_t
impl ConvertReturnValue<Layout> for *mut _cef_layout_t
fn wrap_result(self) -> Layout
Source§impl From<&FillLayout> for Layout
impl From<&FillLayout> for Layout
Source§fn from(from: &FillLayout) -> Self
fn from(from: &FillLayout) -> Self
Converts to this type from the input type.
Source§impl ImplLayout for Layout
impl ImplLayout for Layout
Source§fn as_box_layout(&self) -> Option<BoxLayout>
fn as_box_layout(&self) -> Option<BoxLayout>
See
_cef_layout_t::as_box_layout for more documentation.Source§fn as_fill_layout(&self) -> Option<FillLayout>
fn as_fill_layout(&self) -> Option<FillLayout>
See
_cef_layout_t::as_fill_layout for more documentation.Source§fn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See
_cef_layout_t::is_valid for more documentation.fn get_raw(&self) -> *mut _cef_layout_t
Source§impl Rc for Layout
impl Rc for Layout
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 Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnwindSafe for Layout
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