pub struct FrnStringArray { /* private fields */ }Expand description
A list of Rust strings exposed to native code as an IFrnStringArray.
Implementations§
Source§impl FrnStringArray
impl FrnStringArray
pub fn new<S: AsRef<str>>(items: impl IntoIterator<Item = S>) -> Self
Sourcepub fn to_string_array(&self) -> Vec<String>
pub fn to_string_array(&self) -> Vec<String>
The strings of the array.
Trait Implementations§
Auto Trait Implementations§
impl !Send for FrnStringArray
impl !Sync for FrnStringArray
impl Freeze for FrnStringArray
impl RefUnwindSafe for FrnStringArray
impl Unpin for FrnStringArray
impl UnsafeUnpin for FrnStringArray
impl UnwindSafe for FrnStringArray
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more