pub struct ProfileTable { /* private fields */ }Implementations§
Source§impl ProfileTable
impl ProfileTable
pub fn new() -> Self
pub fn clear(&mut self)
pub fn add_entity(&mut self, name: String) -> ProfileId
pub fn get_label<'a>(&'a self, id: ProfileId) -> Option<&'a String>
pub fn get_data<'a>(&'a self, id: ProfileId) -> Option<&'a ProfileRow>
pub fn get_data_mut<'a>( &'a mut self, id: ProfileId, ) -> Option<&'a mut ProfileRow>
Trait Implementations§
Source§impl Clone for ProfileTable
impl Clone for ProfileTable
Source§fn clone(&self) -> ProfileTable
fn clone(&self) -> ProfileTable
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 ProfileTable
impl Debug for ProfileTable
Source§impl Default for ProfileTable
impl Default for ProfileTable
Source§fn default() -> ProfileTable
fn default() -> ProfileTable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileTable
impl<'de> Deserialize<'de> for ProfileTable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProfileTable
impl RefUnwindSafe for ProfileTable
impl Send for ProfileTable
impl Sync for ProfileTable
impl Unpin for ProfileTable
impl UnwindSafe for ProfileTable
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
impl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
Source§fn into_expected_type(self) -> Result<U, ConversionError>
fn into_expected_type(self) -> Result<U, ConversionError>
Casts this value as the target type, making the assumption that the types are correct. Read more