Struct raui::core::widget::WidgetIdCommon
source · pub struct WidgetIdCommon { /* private fields */ }Implementations§
source§impl WidgetIdCommon
impl WidgetIdCommon
pub fn new(id: WidgetId) -> WidgetIdCommon
pub fn include(&mut self, id: &WidgetId) -> &mut WidgetIdCommon
pub fn include_other(&mut self, other: &WidgetIdCommon) -> &mut WidgetIdCommon
pub fn is_valid(&self) -> bool
pub fn parts(&self) -> Option<impl Iterator<Item = &str>>
pub fn path(&self) -> Option<&str>
Trait Implementations§
source§impl Clone for WidgetIdCommon
impl Clone for WidgetIdCommon
source§fn clone(&self) -> WidgetIdCommon
fn clone(&self) -> WidgetIdCommon
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 WidgetIdCommon
impl Debug for WidgetIdCommon
source§impl Default for WidgetIdCommon
impl Default for WidgetIdCommon
source§fn default() -> WidgetIdCommon
fn default() -> WidgetIdCommon
Returns the “default value” for a type. Read more
source§impl<'a> FromIterator<&'a WidgetId> for WidgetIdCommon
impl<'a> FromIterator<&'a WidgetId> for WidgetIdCommon
source§fn from_iter<T>(iter: T) -> WidgetIdCommonwhere
T: IntoIterator<Item = &'a WidgetId>,
fn from_iter<T>(iter: T) -> WidgetIdCommonwhere T: IntoIterator<Item = &'a WidgetId>,
Creates a value from an iterator. Read more
source§impl PartialEq for WidgetIdCommon
impl PartialEq for WidgetIdCommon
source§fn eq(&self, other: &WidgetIdCommon) -> bool
fn eq(&self, other: &WidgetIdCommon) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for WidgetIdCommon
impl StructuralEq for WidgetIdCommon
impl StructuralPartialEq for WidgetIdCommon
Auto Trait Implementations§
impl RefUnwindSafe for WidgetIdCommon
impl Send for WidgetIdCommon
impl Sync for WidgetIdCommon
impl Unpin for WidgetIdCommon
impl UnwindSafe for WidgetIdCommon
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().