Struct swift_bridge::string::SwiftString
source · [−]#[repr(C)]pub struct SwiftString(_);Implementations
sourceimpl SwiftString
impl SwiftString
pub fn new() -> SwiftString
pub fn new_with_str(str: &str) -> SwiftString
pub fn as_ptr(&self) -> *const u8
pub fn len(&self) -> usize
sourceimpl SwiftString
impl SwiftString
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SwiftString
impl !Send for SwiftString
impl !Sync for SwiftString
impl Unpin for SwiftString
impl UnwindSafe for SwiftString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more