pub struct AvailableSizesArgument { /* private fields */ }Expand description
C++ class: QIconEngine::AvailableSizesArgument.
Implementations§
Source§impl AvailableSizesArgument
impl AvailableSizesArgument
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<AvailableSizesArgument>>,
) -> Ref<AvailableSizesArgument>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<AvailableSizesArgument>>, ) -> Ref<AvailableSizesArgument>
Calls C++ function: QIconEngine::AvailableSizesArgument& QIconEngine::AvailableSizesArgument::operator=(const QIconEngine::AvailableSizesArgument& other).
Sourcepub unsafe fn new() -> CppBox<AvailableSizesArgument>
pub unsafe fn new() -> CppBox<AvailableSizesArgument>
Calls C++ function: [constructor] void QIconEngine::AvailableSizesArgument::AvailableSizesArgument().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<AvailableSizesArgument>>,
) -> CppBox<AvailableSizesArgument>
pub unsafe fn new_copy( other: impl CastInto<Ref<AvailableSizesArgument>>, ) -> CppBox<AvailableSizesArgument>
Calls C++ function: [constructor] void QIconEngine::AvailableSizesArgument::AvailableSizesArgument(const QIconEngine::AvailableSizesArgument& other).
Sourcepub unsafe fn set_sizes(&self, value: impl CastInto<Ref<QListOfQSize>>)
pub unsafe fn set_sizes(&self, value: impl CastInto<Ref<QListOfQSize>>)
Sets the value of the sizes field.
Sourcepub unsafe fn sizes(&self) -> Ref<QListOfQSize>
pub unsafe fn sizes(&self) -> Ref<QListOfQSize>
Returns a reference to the sizes field.
Sourcepub unsafe fn sizes_mut(&self) -> Ref<QListOfQSize>
pub unsafe fn sizes_mut(&self) -> Ref<QListOfQSize>
Returns a mutable reference to the sizes field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AvailableSizesArgument
impl RefUnwindSafe for AvailableSizesArgument
impl Send for AvailableSizesArgument
impl Sync for AvailableSizesArgument
impl Unpin for AvailableSizesArgument
impl UnsafeUnpin for AvailableSizesArgument
impl UnwindSafe for AvailableSizesArgument
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