Struct gtk::TargetEntry
source · #[repr(C)]pub struct TargetEntry { /* private fields */ }
Implementations§
source§impl TargetEntry
impl TargetEntry
pub fn new(target: &str, flags: TargetFlags, info: u32) -> TargetEntry
pub fn target(&self) -> &str
pub fn flags(&self) -> TargetFlags
pub fn info(&self) -> u32
Trait Implementations§
source§impl Clone for TargetEntry
impl Clone for TargetEntry
source§fn clone(&self) -> TargetEntry
fn clone(&self) -> TargetEntry
Returns a copy 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 Debug for TargetEntry
impl Debug for TargetEntry
source§impl StaticType for TargetEntry
impl StaticType for TargetEntry
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Auto Trait Implementations§
impl RefUnwindSafe for TargetEntry
impl Send for TargetEntry
impl Sync for TargetEntry
impl Unpin for TargetEntry
impl UnwindSafe for TargetEntry
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> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.