Skip to content

Commit 160c0cc

Browse files
committed
chore: add missed api
1 parent 5f54d3d commit 160c0cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sessionlockev/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,10 @@ impl<T> WindowStateUnit<T> {
396396
self.binding.as_mut()
397397
}
398398

399+
pub fn get_binding(&self) -> Option<&T> {
400+
self.binding.as_ref()
401+
}
402+
399403
pub fn get_size(&self) -> (u32, u32) {
400404
self.size
401405
}

0 commit comments

Comments
 (0)