Struct icu_properties::bidi_data::BidiAuxiliaryProperties
source · pub struct BidiAuxiliaryProperties {
data: DataPayload<BidiAuxiliaryPropertiesV1Marker>,
}
Expand description
A wrapper around certain Bidi properties data. Can be obtained via bidi_auxiliary_properties()
and
related getters.
Most useful methods are on BidiAuxiliaryPropertiesBorrowed
obtained by calling BidiAuxiliaryProperties::as_borrowed()
Fields§
§data: DataPayload<BidiAuxiliaryPropertiesV1Marker>
Implementations§
source§impl BidiAuxiliaryProperties
impl BidiAuxiliaryProperties
sourcepub fn as_borrowed(&self) -> BidiAuxiliaryPropertiesBorrowed<'_>
pub fn as_borrowed(&self) -> BidiAuxiliaryPropertiesBorrowed<'_>
Construct a borrowed version of this type that can be queried.
This avoids a potential small underlying cost per API call by consolidating it up front.
sourcepub fn from_data(data: DataPayload<BidiAuxiliaryPropertiesV1Marker>) -> Self
pub fn from_data(data: DataPayload<BidiAuxiliaryPropertiesV1Marker>) -> Self
Construct a new one from loaded data
Typically it is preferable to use getters like bidi_auxiliary_properties()
instead
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BidiAuxiliaryProperties
impl RefUnwindSafe for BidiAuxiliaryProperties
impl !Send for BidiAuxiliaryProperties
impl !Sync for BidiAuxiliaryProperties
impl Unpin for BidiAuxiliaryProperties
impl UnwindSafe for BidiAuxiliaryProperties
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