GstPipelineStudio/src/graphmanager/selection.rs
Stéphane Cerveau 0164d71bf2 graphmanager: cleanup the license
Keep only the SPDX and mention the project
2022-02-09 11:28:27 +01:00

22 lines
422 B
Rust

// selection.rs
//
// Copyright 2022 Stéphane Cerveau <scerveau@collabora.com>
//
// This file is part of GraphManager
//
// SPDX-License-Identifier: GPL-3.0-only
pub trait SelectionExt {
/// Toggle selected
///
fn toggle_selected(&self);
/// Set selection to selected state
///
fn set_selected(&self, selected: bool);
/// Retrieve selection state
///
fn selected(&self) -> bool;
}