#[repr(transparent)]pub(crate) struct PropertyIndices(pub(crate) [u8; 83]);
Tuple Fields§
§0: [u8; 83]
Implementations§
Source§impl PropertyIndices
impl PropertyIndices
pub(crate) fn get<'a>( &self, values: &'a [PropertyValue], id: PropertyId, ) -> &'a PropertyValue
Source§impl PropertyIndices
impl PropertyIndices
pub(crate) fn get_affine_property<'a>( &self, values: &'a [PropertyValue], id: PropertyId, ) -> Option<&'a Affine>
pub(crate) fn get_string_property<'a>( &self, values: &'a [PropertyValue], id: PropertyId, ) -> Option<&'a str>
pub(crate) fn get_coord_slice_property<'a>( &self, values: &'a [PropertyValue], id: PropertyId, ) -> Option<&'a [f32]>
pub(crate) fn get_text_selection_property<'a>( &self, values: &'a [PropertyValue], id: PropertyId, ) -> Option<&'a TextSelection>
Source§impl PropertyIndices
impl PropertyIndices
pub(crate) fn get_length_slice_property<'a>( &self, values: &'a [PropertyValue], id: PropertyId, ) -> &'a [u8]
Source§impl PropertyIndices
impl PropertyIndices
pub(crate) fn get_rect_property( &self, values: &[PropertyValue], id: PropertyId, ) -> Option<Rect>
pub(crate) fn get_node_id_property( &self, values: &[PropertyValue], id: PropertyId, ) -> Option<NodeId>
pub(crate) fn get_f64_property( &self, values: &[PropertyValue], id: PropertyId, ) -> Option<f64>
pub(crate) fn get_usize_property( &self, values: &[PropertyValue], id: PropertyId, ) -> Option<usize>
pub(crate) fn get_color_property( &self, values: &[PropertyValue], id: PropertyId, ) -> Option<u32>
pub(crate) fn get_text_decoration_property( &self, values: &[PropertyValue], id: PropertyId, ) -> Option<TextDecoration>
pub(crate) fn get_bool_property( &self, values: &[PropertyValue], id: PropertyId, ) -> Option<bool>
Source§impl PropertyIndices
impl PropertyIndices
pub(crate) fn get_node_id_vec<'a>( &self, values: &'a [PropertyValue], id: PropertyId, ) -> &'a [NodeId]
Source§impl PropertyIndices
impl PropertyIndices
pub(crate) fn get_custom_action_vec<'a>( &self, values: &'a [PropertyValue], id: PropertyId, ) -> &'a [CustomAction]
Trait Implementations§
Source§impl Clone for PropertyIndices
impl Clone for PropertyIndices
Source§fn clone(&self) -> PropertyIndices
fn clone(&self) -> PropertyIndices
Returns a duplicate 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 PropertyIndices
impl Debug for PropertyIndices
Source§impl Default for PropertyIndices
impl Default for PropertyIndices
Source§impl PartialEq for PropertyIndices
impl PartialEq for PropertyIndices
impl Copy for PropertyIndices
impl Eq for PropertyIndices
impl StructuralPartialEq for PropertyIndices
Auto Trait Implementations§
impl Freeze for PropertyIndices
impl RefUnwindSafe for PropertyIndices
impl Send for PropertyIndices
impl Sync for PropertyIndices
impl Unpin for PropertyIndices
impl UnwindSafe for PropertyIndices
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