pub struct UnorderedContainer(pub Container);Tuple Fields§
§0: ContainerMethods from Deref<Target = Container>§
Sourcepub fn hash_width(&self) -> Option<HashWidth>
pub fn hash_width(&self) -> Option<HashWidth>
Returns the width of the Kind::Hash items. Returns None if the items are not Hash
values or if the container is empty.
Sourcepub fn items(&self) -> &[PropertyValueEnum]
pub fn items(&self) -> &[PropertyValueEnum]
The items, in order.
Sourcepub fn get(&self, index: usize) -> Option<&PropertyValueEnum>
pub fn get(&self, index: usize) -> Option<&PropertyValueEnum>
The item at index, if there is one.
Trait Implementations§
Source§impl AsRef<Container> for UnorderedContainer
impl AsRef<Container> for UnorderedContainer
Source§impl Clone for UnorderedContainer
impl Clone for UnorderedContainer
Source§impl Debug for UnorderedContainer
impl Debug for UnorderedContainer
Source§impl Default for UnorderedContainer
impl Default for UnorderedContainer
Source§impl Deref for UnorderedContainer
impl Deref for UnorderedContainer
Source§impl From<UnorderedContainer> for PropertyValueEnum
impl From<UnorderedContainer> for PropertyValueEnum
Source§fn from(other: UnorderedContainer) -> Self
fn from(other: UnorderedContainer) -> Self
Converts to this type from the input type.
Source§impl FromValue for UnorderedContainer
impl FromValue for UnorderedContainer
Source§fn from_value(value: &PropertyValueEnum) -> Option<&Self>
fn from_value(value: &PropertyValueEnum) -> Option<&Self>
The value as
Self, if that is its kind.Source§fn from_value_mut(value: &mut PropertyValueEnum) -> Option<&mut Self>
fn from_value_mut(value: &mut PropertyValueEnum) -> Option<&mut Self>
Source§impl PartialEq for UnorderedContainer
impl PartialEq for UnorderedContainer
Source§impl PropertyExt for UnorderedContainer
impl PropertyExt for UnorderedContainer
Source§impl ReadProperty for UnorderedContainer
impl ReadProperty for UnorderedContainer
impl StructuralPartialEq for UnorderedContainer
Auto Trait Implementations§
impl Freeze for UnorderedContainer
impl RefUnwindSafe for UnorderedContainer
impl Send for UnorderedContainer
impl Sync for UnorderedContainer
impl Unpin for UnorderedContainer
impl UnsafeUnpin for UnorderedContainer
impl UnwindSafe for UnorderedContainer
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