Struct libpanel::builders::SessionItemBuilder
source · pub struct SessionItemBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct SessionItem
objects.
Implementations§
source§impl SessionItemBuilder
impl SessionItemBuilder
pub fn id(self, id: impl Into<GString>) -> Self
pub fn module_name(self, module_name: impl Into<GString>) -> Self
pub fn position(self, position: &Position) -> Self
pub fn type_hint(self, type_hint: impl Into<GString>) -> Self
pub fn workspace(self, workspace: impl Into<GString>) -> Self
sourcepub fn build(self) -> SessionItem
pub fn build(self) -> SessionItem
Build the SessionItem
.
Auto Trait Implementations§
impl Freeze for SessionItemBuilder
impl RefUnwindSafe for SessionItemBuilder
impl !Send for SessionItemBuilder
impl !Sync for SessionItemBuilder
impl Unpin for SessionItemBuilder
impl UnwindSafe for SessionItemBuilder
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