pub struct RenameHints { /* private fields */ }Implementations§
Source§impl RenameHints
impl RenameHints
pub fn new() -> Self
pub fn add_table_hint(&mut self, from: TableId, to: TableId)
pub fn add_column_hint(&mut self, from: ColumnId, to: ColumnId)
pub fn add_index_hint(&mut self, from: IndexId, to: IndexId)
pub fn get_table(&self, from: TableId) -> Option<TableId>
pub fn get_column(&self, from: ColumnId) -> Option<ColumnId>
pub fn get_index(&self, from: IndexId) -> Option<IndexId>
Trait Implementations§
Source§impl Default for RenameHints
impl Default for RenameHints
Source§fn default() -> RenameHints
fn default() -> RenameHints
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenameHints
impl RefUnwindSafe for RenameHints
impl Send for RenameHints
impl Sync for RenameHints
impl Unpin for RenameHints
impl UnwindSafe for RenameHints
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