pub struct SharedPreferencesEditor { /* private fields */ }Implementations§
pub fn put_string( &self, env: &mut JNIEnv<'_>, key: &str, value: &str, ) -> JResult<Self>
pub fn put_binary( &self, env: &mut JNIEnv<'_>, key: &str, value: &[u8], ) -> JResult<Self>
pub fn remove(&self, env: &mut JNIEnv<'_>, key: &str) -> JResult<Self>
pub fn commit(&self, env: &mut JNIEnv<'_>) -> JResult<bool>
Trait Implementations§
Auto Trait Implementations§
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