pub struct Property<'a> {
pub name: &'a str,
/* private fields */
}
Fields§
§name: &'a str
Implementations§
Source§impl<'a> Property<'a>
impl<'a> Property<'a>
pub fn raw_value(&self) -> &'a [u8]
pub fn u32(&self) -> u32
pub fn u64(&self) -> u64
pub fn str(&self) -> &'a str
pub fn str_list(&self) -> impl Iterator<Item = &'a str> + 'a
pub fn u32_list(&self) -> impl Iterator<Item = u32> + 'a
pub fn u64_list(&self) -> impl Iterator<Item = u64> + 'a
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Property<'a>
impl<'a> RefUnwindSafe for Property<'a>
impl<'a> Send for Property<'a>
impl<'a> Sync for Property<'a>
impl<'a> Unpin for Property<'a>
impl<'a> UnwindSafe for Property<'a>
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