#[repr(C)]pub struct ContextMenuBinClass {
parent_class: Class<Widget>,
pub(super) menu_opened: fn(&ContextMenuBin),
}Fields§
§parent_class: Class<Widget>Trait Implementations§
Source§impl ClassStruct for ContextMenuBinClass
impl ClassStruct for ContextMenuBinClass
Source§type Type = ContextMenuBin
type Type = ContextMenuBin
Corresponding object subclass type for this class struct.
Source§fn class_init(&mut self)
fn class_init(&mut self)
Override the vfuncs of all parent types. Read more
Auto Trait Implementations§
impl Freeze for ContextMenuBinClass
impl RefUnwindSafe for ContextMenuBinClass
impl Send for ContextMenuBinClass
impl Sync for ContextMenuBinClass
impl Unpin for ContextMenuBinClass
impl UnsafeUnpin for ContextMenuBinClass
impl UnwindSafe for ContextMenuBinClass
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
Source§impl<T> CellAreaClassExt for Twhere
T: ClassStruct,
impl<T> CellAreaClassExt for Twhere
T: ClassStruct,
Source§impl<T, U> CompositeTemplateClass for T
impl<T, U> CompositeTemplateClass for T
Source§fn bind_template(&mut self)
fn bind_template(&mut self)
Binds the template callbacks from this type into the default template
scope for
self.Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more